USB: ps3: don't call ps3_system_bus_driver_register on other platforms
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Wed, 14 Feb 2007 07:04:17 +0000 (16:04 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:22 +0000 (15:32 -0800)
commit48fda45120a819ca40cadc50144b55bff1c4c78d
tree6602f22f79b57d3aedccad061be8bcd24b74d8db
parent7426fa8081766158525e063d69ad129744c42cd7
USB: ps3: don't call ps3_system_bus_driver_register on other platforms

ps3_system_bus_driver_register is PS3 platform specific function.
On other platforms, it triggers WARN_ON in kref_get.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c