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

From: David Brownell <[email-masked]>
Date: Fri, 16 Feb 2007 17:33:55 -0800

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