diff options
author | Sylvain Munaut | 2006-12-13 21:09:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2007-02-08 00:44:33 +0100 |
commit | 5e16fabe5dbcff15de6cdcba406195fe6e4380df (patch) | |
tree | f6004b46e6e84fd44f4bc352260e9a970f7be279 /Kbuild | |
parent | rndis_host learns ActiveSync basics (diff) | |
download | kernel-qcow2-linux-5e16fabe5dbcff15de6cdcba406195fe6e4380df.tar.gz kernel-qcow2-linux-5e16fabe5dbcff15de6cdcba406195fe6e4380df.tar.xz kernel-qcow2-linux-5e16fabe5dbcff15de6cdcba406195fe6e4380df.zip |
ohci: Rework bus glue integration to allow several at once
The previous model had the module_init & module_exit function in the
bus glue .c files themselves. That's a problem if several glues need
to be selected at once and the driver is built has module. This case
is quite common in embedded system where you want to handle both the
integrated ohci controller and some extra controller on PCI.
The ohci-hcd.c file now provide the module_init & module_exit and
appropriate driver registering/unregistering is done conditionally,
using #ifdefs.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions