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

From: Arnd Bergmann <[email-masked]>
Date: Sat, 7 Jul 2007 01:48:20 +0200

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)
> =A0
> =A0=A0=A0=A0=A0=A0=A0=A0ppc_md.pci_exclude_device =3D mpc83xx_exclude_dev=
ice;
> =A0#endif
> +
> +=A0=A0=A0=A0=A0=A0=A0mpc834x_usb_cfg();
> =A0}

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 <><