[PATCH] ps3: don't call ps3_system_bus_driver_register on other platforms

Geoff Levand geoffrey.levand at am.sony.com
Thu Feb 15 06:27:01 EST 2007


Ishizaki Kou wrote:
> ps3_system_bus_driver_register is PS3 platform specific function.
> On other platforms, it triggers WARN_ON in kref_get.

> +++ linux-powerpc-git/drivers/usb/host/ehci-hcd.c
> +++ linux-powerpc-git/drivers/usb/host/ohci-hcd.c

I would think we only need to modify ps3_system_bus_driver_register()
and ps3_system_bus_driver_unregister() to do the proper thing, not the
usb host drivers that make those calls.  I'll look into that solution.

-Geoff




More information about the Linuxppc-dev mailing list