[PATCH 2/2] ARM: S3C64XX: Prototype SPI devices
From: Kukjin Kim <hidden>
Date: 2010-09-09 11:18:10
Mark Brown wrote:
On Wed, Sep 08, 2010 at 09:39:21PM +0900, Kukjin Kim wrote:quoted
Mark Brown wrote:quoted
quoted
Avoids build warnings due to the undeclared non-statics.quoted
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 [off-list ref], Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.