浏览代码

ARM defconfigs: add missing inclusions of linux/platform_device.h

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>
Arnd Bergmann 12 年之前
父节点
当前提交
56cc6cb707
共有 3 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      arch/arm/plat-samsung/include/plat/adc.h
  2. 1 0
      drivers/video/clps711xfb.c
  3. 2 0
      include/linux/platform_data/s3c-hsotg.h

+ 1 - 0
arch/arm/plat-samsung/include/plat/adc.h

@@ -15,6 +15,7 @@
 #define __ASM_PLAT_ADC_H __FILE__
 #define __ASM_PLAT_ADC_H __FILE__
 
 
 struct s3c_adc_client;
 struct s3c_adc_client;
+struct platform_device;
 
 
 extern int s3c_adc_start(struct s3c_adc_client *client,
 extern int s3c_adc_start(struct s3c_adc_client *client,
 			 unsigned int channel, unsigned int nr_samples);
 			 unsigned int channel, unsigned int nr_samples);

+ 1 - 0
drivers/video/clps711xfb.c

@@ -26,6 +26,7 @@
 #include <linux/fb.h>
 #include <linux/fb.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
+#include <linux/platform_device.h>
 
 
 #include <mach/hardware.h>
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
 #include <asm/mach-types.h>

+ 2 - 0
include/linux/platform_data/s3c-hsotg.h

@@ -15,6 +15,8 @@
 #ifndef __LINUX_USB_S3C_HSOTG_H
 #ifndef __LINUX_USB_S3C_HSOTG_H
 #define __LINUX_USB_S3C_HSOTG_H
 #define __LINUX_USB_S3C_HSOTG_H
 
 
+struct platform_device;
+
 enum s3c_hsotg_dmamode {
 enum s3c_hsotg_dmamode {
 	S3C_HSOTG_DMA_NONE,	/* do not use DMA at-all */
 	S3C_HSOTG_DMA_NONE,	/* do not use DMA at-all */
 	S3C_HSOTG_DMA_ONLY,	/* always use DMA */
 	S3C_HSOTG_DMA_ONLY,	/* always use DMA */