]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: SAMSUNG: Declare struct platform_device in plat/s3c64xx-spi.h
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Dec 2011 09:01:08 +0000 (18:01 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 11 Jan 2012 17:12:02 +0000 (02:12 +0900)
The function declarations in plat/s3c64xx-spi.h rely on struct
platform_device but it's not declared by the header causing compiler
warnings if it is included prior to another header which does that.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h

index aea68b60ef98af7bac8c5841536c8150d803888f..fa95e9a009729f41ddd1c39174e4f6908f515226 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef __S3C64XX_PLAT_SPI_H
 #define __S3C64XX_PLAT_SPI_H
 
+struct platform_device;
+
 /**
  * struct s3c64xx_spi_csinfo - ChipSelect description
  * @fb_delay: Slave specific feedback delay.