]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: sunxi: ohci: make ohci_t the first member in private data
authorVasily Khoruzhick <anarsoul@gmail.com>
Sun, 17 Jun 2018 16:13:42 +0000 (09:13 -0700)
committerMarek Vasut <marex@denx.de>
Fri, 29 Jun 2018 08:52:07 +0000 (10:52 +0200)
commitebbc23a0495cd189cda2760f66cc0195dd030a19
tree9357b358d44d7354a12feb867caa34cb5fbf6c39
parentfb77a9e3537039664ad42992bef6688869eda7c1
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>
drivers/usb/host/ohci-sunxi.c