[PATCH] Add USB support to mpc8349-mitx board port

Arnd Bergmann arnd at arndb.de
Sat Jul 7 09:48:20 EST 2007


On Saturday 07 July 2007, Grant Likely wrote:
> --- a/arch/powerpc/platforms/83xx/mpc834x_itx.c
> +++ b/arch/powerpc/platforms/83xx/mpc834x_itx.c
> @@ -63,6 +63,8 @@ static void __init mpc834x_itx_setup_arch(void)
>  
>         ppc_md.pci_exclude_device = mpc83xx_exclude_device;
>  #endif
> +
> +       mpc834x_usb_cfg();
>  }

Why is that necessary? Shouldn't there be an of_platform_driver that
simply does all the setup automatically if the device is present?

	Arnd <><



More information about the Linuxppc-dev mailing list