• Daniel Mack's avatar
    [PATCH] USB: au1200: EHCI and OHCI fixes · d14feb5e
    Daniel Mack authored
    I received an DBAU1200 eval kit from AMD a few days ago and tried to
    enable the USB2 port, but the current linux-2.6 GIT did not even
    compile with CONFIG_SOC_1200, CONFIG_SOC_AU1X00, CONFIG_USB_EHCI and
    CONFIG_USB_OHCI set.
    Furthermore, in ehci-hcd.c, platform_driver_register() was called with
    an improper argument of type 'struct device_driver *' which of course
    ended up in a kernel oops. How could that ever have worked on your
    machines?
    
    Anyway, here's a trivial patch that makes the USB subsystem working
    on my board for both OHCI and EHCI.
    It also removes the /* FIXME use "struct platform_driver" */.
    Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    Acked-by: default avatarDavid Brownell <david-b@pacbell.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    d14feb5e
ohci-au1xxx.c 9.1 KB