[RFC PATCH 2/2] mmc: add OpenFirmware bindings for the mmc_spi driver

Anton Vorontsov cbouatmailru at gmail.com
Tue May 27 09:15:56 EST 2008


On Mon, May 26, 2008 at 03:19:01PM -0700, David Brownell wrote:
> On Monday 26 May 2008, Anton Vorontsov wrote:
> > David, would you [not] suggest us to use platform_data with
> > container_of, that is, are there any plans to make SPI core copy
> > the platform_data instead of passing a pointer directly?
> 
> No such plans.

Ok, great.

> How could it copy, not knowing the size?

Platform bus usually knows the size via platform_device_add_data()...
anyway, we're in safe if there are no plans for this in SPI.

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list