[V2 1/3] mxc: Add support for the imx51 3-stack board
Amit Kucheria
amit.kucheria at canonical.com
Thu Jun 3 10:35:34 EDT 2010
On 10 Jun 03, Sascha Hauer wrote:
> On Thu, Jun 03, 2010 at 03:39:08PM +0300, Amit Kucheria wrote:
> > Two comments inline.
> >
> > > +static struct platform_device smsc_lan9217_device = {
> > > + .name = "smsc911x",
> > > + .id = 0,
> > > + .dev = {
> > > + .platform_data = &smsc911x_config,
> > > + },
> > > + .num_resources = ARRAY_SIZE(smsc911x_resources),
> > > + .resource = smsc911x_resources,
> > > +};
> >
> > You forgot to move this platform_device to devices.c
>
> No, devices.c is the place for the i.MX51 integrated peripherals, not
> for externally conntected peripherals.
OK. Didn't know this was an externally connected peripheral. Which, BTW, is
also why I had suggested that the smsc and the debug board support were added as
separate patches. But it is a preference thing.
--
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || amit.kucheria at canonical.com
----------------------------------------------------------------------
More information about the linux-arm-kernel
mailing list