aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-29 04:01:08 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-01-11 12:12:02 -0500
commit5b0b34ea755810462346b24e24643eb93ebc919c (patch)
tree7f5c3f36ec420368e01e24caedab4ec1de325c14 /arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
parent6fd9dd38a1124db66d2438bf9b225aef09597478 (diff)
ARM: SAMSUNG: Declare struct platform_device in plat/s3c64xx-spi.h
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>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/s3c64xx-spi.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/s3c64xx-spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h b/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
index aea68b60ef98..fa95e9a00972 100644
--- a/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
+++ b/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
@@ -11,6 +11,8 @@
11#ifndef __S3C64XX_PLAT_SPI_H 11#ifndef __S3C64XX_PLAT_SPI_H
12#define __S3C64XX_PLAT_SPI_H 12#define __S3C64XX_PLAT_SPI_H
13 13
14struct platform_device;
15
14/** 16/**
15 * struct s3c64xx_spi_csinfo - ChipSelect description 17 * struct s3c64xx_spi_csinfo - ChipSelect description
16 * @fb_delay: Slave specific feedback delay. 18 * @fb_delay: Slave specific feedback delay.