On Fri, Apr 03, 2009 at 10:53:53AM -0700, Mark A. Greer wrote:
> On Fri, Apr 03, 2009 at 09:14:13PM +0400, Sergei Shtylyov wrote:
> > Mark A. Greer wrote:
> 
> >>  static struct davinci_soc_info davinci_soc_info_dm355 = {
> >>    .io_desc                = dm355_io_desc,
> >>    .io_desc_num            = ARRAY_SIZE(dm355_io_desc),
> >> @@ -654,6 +694,7 @@ static struct davinci_soc_info davinci_soc_info_dm355 
> >> = {
> >>    .gpio_base              = IO_ADDRESS(DAVINCI_GPIO_BASE),
> >>    .gpio_num               = 104,
> >>    .gpio_irq               = IRQ_DM355_GPIOBNK0,
> >> +  .serial_dev             = &dm355_serial_device,
> >>  };
> >>   struct davinci_soc_info *dm355_get_soc_info(void)
> >
> >    You actually *need* to move only the platform data I think. The 
> > pointer to it can then be set in the 'struct platform_device'.
> 
> Good point.  Thanks.

Actually, I'm going to move it anyway.  I plan to change
davinci_serial_init() to be driven by the 'platform_notify'
hook after this series is accepted it'll have to move anyway.

Mark
--

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

Reply via email to