[PATCHv2] ARM: S3C64XX: SPI: Make platform device compilation selectable

jassi brar jassisinghbrar at gmail.com
Thu Jan 28 04:12:30 EST 2010


2010/1/28 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> On Thu, Jan 28, 2010 at 05:14:49PM +0900, jassisinghbrar at gmail.com wrote:
>> From: Jassi Brar <jassi.brar at samsung.com>
>>
>> The SPI controller platform devices should be compiled in
>> independent of the driver support, otherwise we might end
>> up with dev-spi built as kernel module.
>> Change this to make every machine select if it has some SPI
>> device and wants to build device definitions.
> Is it correct that S3C64XX_DEV_SPI for now is always unselected and so
> dev-spi.o is never compiled?  Assuming there are already machines using
> it the corresponding symbols should select S3C64XX_DEV_SPI, don't they?
>
> If that's wrong the last sentence in your commit log is confusing.
Hello,
No machine currently uses s3c64xx-spi, so it's ok.
In future a s3c64xx based machine has to select S3C64XX_DEV_SPI
 if it has some device attached to the SPI bus.



More information about the linux-arm-kernel mailing list