]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 18:48:34 +0000 (12:48 -0600)
commit19d95d57299d1f9395934cd365625bebef399748
treea7eea453f9cc1d6fa61c0d71f83aeabb0e46db3f
parentc5613df585b167d30408f45a35acccde891b16db
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