ARM defconfigs: add missing inclusions of linux/platform_device.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 22:26:56 +0000 (23:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Feb 2013 23:14:32 +0000 (15:14 -0800)
Patch 16559ae "kgdb: remove #include <linux/serial_8250.h> from kgdb.h"
removed an implicit inclusion of linux/platform_device.h
In a number of places. This adds back explicit inclusions in a few
more places I found.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/plat-samsung/include/plat/adc.h
drivers/video/clps711xfb.c
include/linux/platform_data/s3c-hsotg.h

index b258a08de591806106d8ab43c06357a4caef6ad2..2fc89315553f78cd4a05f32678a05f7f89a4ed90 100644 (file)
@@ -15,6 +15,7 @@
 #define __ASM_PLAT_ADC_H __FILE__
 
 struct s3c_adc_client;
+struct platform_device;
 
 extern int s3c_adc_start(struct s3c_adc_client *client,
                         unsigned int channel, unsigned int nr_samples);
index 5a7af0deced2607383200118cb7c66d89b6219af..f00980607b8f1addd4ebf0552f1f01988ad0ba56 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/fb.h>
 #include <linux/init.h>
 #include <linux/delay.h>
+#include <linux/platform_device.h>
 
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
index 8b79e0967f9caf6a524012664ee2e8b99e390ceb..3f1cbf95ec3ba9cd98849ae92e846cb14a19e90f 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef __LINUX_USB_S3C_HSOTG_H
 #define __LINUX_USB_S3C_HSOTG_H
 
+struct platform_device;
+
 enum s3c_hsotg_dmamode {
        S3C_HSOTG_DMA_NONE,     /* do not use DMA at-all */
        S3C_HSOTG_DMA_ONLY,     /* always use DMA */