[PATCH 2/2] ARM: S3C64XX: Prototype SPI devices
Kukjin Kim
kgene.kim at samsung.com
Thu Sep 9 07:18:10 EDT 2010
Mark Brown wrote:
>
> On Wed, Sep 08, 2010 at 09:39:21PM +0900, Kukjin Kim wrote:
> > Mark Brown wrote:
>
> > > Avoids build warnings due to the undeclared non-statics.
>
> > Could you please let me know what's the build warning?
>
> It'll have been something along the lines of:
>
> 's3c64xx_device_iis0' not declared; should it be static?
>
> for each device. Possibly generated by sparse rather than GCC - I
> always build with sparse as well.
Hi Mark,
Sorry...I can't understand your comment.
You mean the build warning is 's3c64xx_device_iis0' is not declared..right?
Hmm...the 's3c64xx_device_iis0' used only in a mach-s3c64xx/mach-smartq.c
file.
And defined it as extern struct in a plat-samsung/include/plat/devs.h file.
...So...why need to modify mach-s3c64xx/dev-spi.c for it?
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list