]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP: Remove NEED_MACH_GPIO_H
authorTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2012 16:54:56 +0000 (09:54 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 2 Nov 2012 19:00:36 +0000 (12:00 -0700)
Omap no longer needs this option, mach/gpio.h is
empty.

Also remove mach/irqs.h from gpio-omap.h and
include it directly from the related omap1
gpio init files.

Otherwise omap2+ build fails for MULTI_PLATFORM.

Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
Cc: Liam Girdwood <lrg@ti.com>
Cc: alsa-devel@alsa-project.org
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 files changed:
arch/arm/Kconfig
arch/arm/mach-omap1/gpio15xx.c
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap1/gpio7xx.c
arch/arm/mach-omap1/include/mach/gpio.h [deleted file]
arch/arm/mach-omap2/include/mach/gpio.h [deleted file]
include/linux/platform_data/gpio-omap.h
sound/soc/omap/am3517evm.c
sound/soc/omap/n810.c
sound/soc/omap/osk5912.c
sound/soc/omap/sdp3430.c
sound/soc/omap/zoom2.c

index 73067efd484530d4021a220fecce329b4752b3c0..6207cf734b2b21213cd54d108623a695a229c604 100644 (file)
@@ -937,7 +937,6 @@ config ARCH_OMAP
        select CLKSRC_MMIO
        select GENERIC_CLOCKEVENTS
        select HAVE_CLK
-       select NEED_MACH_GPIO_H
        help
          Support for TI's OMAP platform (OMAP1/2/3/4).
 
index 98e6f39224a4ee42449b847f997889b0842cb4c6..02b3eb2e201c2fe63670a5b6f64c3a8161eb06fd 100644 (file)
@@ -19,6 +19,8 @@
 #include <linux/gpio.h>
 #include <linux/platform_data/gpio-omap.h>
 
+#include <mach/irqs.h>
+
 #define OMAP1_MPUIO_VBASE              OMAP1_MPUIO_BASE
 #define OMAP1510_GPIO_BASE             0xFFFCE000
 
index 33f419236b1725e4f277837754ce353336cc6384..b9952a258d8201aac40880c8ac01bc1cabdba008 100644 (file)
@@ -19,6 +19,8 @@
 #include <linux/gpio.h>
 #include <linux/platform_data/gpio-omap.h>
 
+#include <mach/irqs.h>
+
 #define OMAP1610_GPIO1_BASE            0xfffbe400
 #define OMAP1610_GPIO2_BASE            0xfffbec00
 #define OMAP1610_GPIO3_BASE            0xfffbb400
index 958ce9acee954c871fd67bcef67763c5a8021cce..f5819b2b7cbec631c7012a5f64bb88b12ed3ab2b 100644 (file)
@@ -19,6 +19,8 @@
 #include <linux/gpio.h>
 #include <linux/platform_data/gpio-omap.h>
 
+#include <mach/irqs.h>
+
 #define OMAP7XX_GPIO1_BASE             0xfffbc000
 #define OMAP7XX_GPIO2_BASE             0xfffbc800
 #define OMAP7XX_GPIO3_BASE             0xfffbd000
diff --git a/arch/arm/mach-omap1/include/mach/gpio.h b/arch/arm/mach-omap1/include/mach/gpio.h
deleted file mode 100644 (file)
index ebf86c0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/*
- * arch/arm/mach-omap1/include/mach/gpio.h
- */
diff --git a/arch/arm/mach-omap2/include/mach/gpio.h b/arch/arm/mach-omap2/include/mach/gpio.h
deleted file mode 100644 (file)
index 5621cc5..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/*
- * arch/arm/mach-omap2/include/mach/gpio.h
- */
index e8741c2678d586497d05dd3cfff9b74f89b015e6..5d50b25a73d71374b523ba68b6614e9deb3268a4 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <linux/io.h>
 #include <linux/platform_device.h>
-#include <mach/irqs.h>
 
 #define OMAP1_MPUIO_BASE                       0xfffb5000
 
index fad350682ca2ea1a7c2e68a5afe58932c3a36a53..c1900b2a6f2887e6a5529c3efa4df5963f1d2815 100644 (file)
@@ -25,8 +25,6 @@
 #include <sound/soc.h>
 
 #include <asm/mach-types.h>
-#include <mach/hardware.h>
-#include <mach/gpio.h>
 #include <linux/platform_data/asoc-ti-mcbsp.h>
 
 #include "omap-mcbsp.h"
index 521bfc3d2b2b3aae49ad00f5efd02a96c298b5a7..230b8c14484842ac961dd651320ebe072a9cc8bd 100644 (file)
@@ -29,7 +29,6 @@
 #include <sound/soc.h>
 
 #include <asm/mach-types.h>
-#include <mach/hardware.h>
 #include <linux/gpio.h>
 #include <linux/module.h>
 #include <linux/platform_data/asoc-ti-mcbsp.h>
index 3960e8df9c76c7b8a53dbf55425a81a6d6a5789b..06ef8d67ed1ccdf163627d65ee02304d0ca5fbb7 100644 (file)
@@ -28,7 +28,6 @@
 #include <sound/soc.h>
 
 #include <asm/mach-types.h>
-#include <mach/hardware.h>
 #include <linux/gpio.h>
 #include <linux/module.h>
 #include <linux/platform_data/asoc-ti-mcbsp.h>
index 597cae769cea2817af8e7d6ad01ef26b8754dbc1..b462a2c9385f04e5ade66cc2b38fa427a6b668cc 100644 (file)
@@ -31,8 +31,6 @@
 #include <sound/jack.h>
 
 #include <asm/mach-types.h>
-#include <mach/hardware.h>
-#include <mach/gpio.h>
 #include <linux/platform_data/gpio-omap.h>
 #include <linux/platform_data/asoc-ti-mcbsp.h>
 
index 677b567935f8055b6899f74e276bd4c0a39dd213..27c501c301b7bceb2cb22861bf9c08b7498ad0df 100644 (file)
@@ -26,9 +26,6 @@
 #include <sound/soc.h>
 
 #include <asm/mach-types.h>
-#include <mach/hardware.h>
-#include <mach/gpio.h>
-#include <mach/board-zoom.h>
 #include <linux/platform_data/asoc-ti-mcbsp.h>
 
 /* Register descriptions for twl4030 codec part */