Просмотр исходного кода

ARM: OMAP2+: included some headers twice

arch/arm/mach-omap2/: included some headers tiwce:
- arch/arm/mach-omap2/board-ldp.c: 'linux/gpio.h'
- arch/arm/mach-omap2/io.c: 'common.h'
- arch/arm/mach-omap2/omap_hwmod_44xx_data.c: 'plat/i2c.h'

Remove the duplicates.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Danny Kukawka 13 лет назад
Родитель
Сommit
31fc80a7a1
3 измененных файлов с 0 добавлено и 3 удалено
  1. 0 1
      arch/arm/mach-omap2/board-ldp.c
  2. 0 1
      arch/arm/mach-omap2/io.c
  3. 0 1
      arch/arm/mach-omap2/omap_hwmod_44xx_data.c

+ 0 - 1
arch/arm/mach-omap2/board-ldp.c

@@ -27,7 +27,6 @@
 #include <linux/io.h>
 #include <linux/io.h>
 #include <linux/smsc911x.h>
 #include <linux/smsc911x.h>
 #include <linux/mmc/host.h>
 #include <linux/mmc/host.h>
-#include <linux/gpio.h>
 
 
 #include <mach/hardware.h>
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
 #include <asm/mach-types.h>

+ 0 - 1
arch/arm/mach-omap2/io.c

@@ -43,7 +43,6 @@
 #include "clockdomain.h"
 #include "clockdomain.h"
 #include <plat/omap_hwmod.h>
 #include <plat/omap_hwmod.h>
 #include <plat/multi.h>
 #include <plat/multi.h>
-#include "common.h"
 
 
 /*
 /*
  * The machine specific code may provide the extra mapping besides the
  * The machine specific code may provide the extra mapping besides the

+ 0 - 1
arch/arm/mach-omap2/omap_hwmod_44xx_data.c

@@ -28,7 +28,6 @@
 #include <plat/mcspi.h>
 #include <plat/mcspi.h>
 #include <plat/mcbsp.h>
 #include <plat/mcbsp.h>
 #include <plat/mmc.h>
 #include <plat/mmc.h>
-#include <plat/i2c.h>
 #include <plat/dmtimer.h>
 #include <plat/dmtimer.h>
 #include <plat/common.h>
 #include <plat/common.h>