]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: ohci: Move the ohci_dev struct to inside the main ohci struct
authorHans de Goede <hdegoede@redhat.com>
Tue, 5 May 2015 21:56:08 +0000 (23:56 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:16 +0000 (22:37 +0200)
commitb5c010404e5b2614888396339ae499d1c58f164c
tree4e807e79e13434c6c2c916ce838b4db0d4ed2cd4
parent235194a124284fe1a4f9832d686fb5f220daf092
usb: ohci: Move the ohci_dev struct to inside the main ohci struct

This is a preparation patch for adding driver-model support.

Note we do keep ohci_dev as a separate struct so that we can later add
support for interrupt-queues which requires allocating a separate ohci_dev
per interrupt-queue.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci.h