On Sat, Mar 28, 2009 at 09:08:19PM -0700, David Brownell wrote:
> On Saturday 28 March 2009, Mark A. Greer wrote:
> > *info)
> >  
> >  static int __init davinci_init(void)
> >  {
> > -       return platform_device_register(&serial_device);
> > +       return platform_device_register(davinci_soc_info->serial_dev);
> >  }
> >  
> >  arch_initcall(davinci_init);
> 
> Why not have davinci_serial_init() register the device?
> 
> If the board doesn't register any serial ports, none
> should be registered automagically...

Makes sense.

Mark
--

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to