From: Mark Brown Date: Thu, 29 Dec 2011 09:01:08 +0000 (+0900) Subject: ARM: SAMSUNG: Declare struct platform_device in plat/s3c64xx-spi.h X-Git-Tag: upstream/snapshot3+hdmi~8286^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b0b34ea755810462346b24e24643eb93ebc919c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h b/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h index aea68b6..fa95e9a 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 @@ #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.