> +
> +#ifdef CONFIG_PPC_83xx
> +     retval = platform_driver_register(&ehci_fsl_dr_driver);
> +     if (retval < 0)
> +             return retval;
> +
> +     retval = platform_driver_register(&ehci_fsl_dr_driver);
> +     if (retval < 0)
> +             return retval;
> +#endif
> +
> +#ifdef CONFIG_SOC_AU1X00
> +     pr_debug(DRIVER_INFO " (Au1xxx)\n");
> +
> +     retval = driver_register(&ehci_hcd_au1xxx_driver);
> +     if (retval < 0)
> +             return retval;
> +#endif

Can we just get away from all of that extra #ifdeffery?  

This is essentially the same patch you sent the first time.
With the same bugs ... like, not cleaning up the first driver
after errors registering the second one.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to