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

David Brownell david-b at pacbell.net
Sat Feb 17 12:33:55 EST 2007


On Wednesday 14 February 2007 11:27 am, Geoff Levand wrote:
> 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.

Right, that seems like the real bug.  When that's fixed, this patch
can/should be backed out...

- Dave



More information about the Linuxppc-dev mailing list