mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-20 05:31:30 +00:00
usb: sunxi: ohci: make ohci_t the first member in private data
ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be
the first member in private data struct.
Fixes 831cc98b1
("usb: sunxi: Simplify ccm reg base code")
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
This commit is contained in:
parent
fb77a9e353
commit
ebbc23a049
1 changed files with 1 additions and 1 deletions
|
@ -33,9 +33,9 @@ struct ohci_sunxi_cfg {
|
|||
};
|
||||
|
||||
struct ohci_sunxi_priv {
|
||||
ohci_t ohci;
|
||||
struct sunxi_ccm_reg *ccm;
|
||||
u32 *reset0_cfg;
|
||||
ohci_t ohci;
|
||||
int ahb_gate_mask; /* Mask of ahb_gate0 clk gate bits for this hcd */
|
||||
int usb_gate_mask; /* Mask of usb_clk_cfg clk gate bits for this hcd */
|
||||
struct phy phy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue