]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Undo of adding early GPIO init to board specific files
authorTony Lindgren <tony@atomide.com>
Wed, 19 Oct 2005 13:48:46 +0000 (16:48 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 19 Oct 2005 13:48:46 +0000 (16:48 +0300)
The early GPIO should only be needed in cases where some interrupts
are routed via FPGA. In most cases doing the init with arch_initcall()
should be fine.

arch/arm/mach-omap1/board-generic.c
arch/arm/mach-omap1/board-innovator.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/board-h4.c

index b5535eac1d233349730b0c6e40d344690bf56fcf..8f88ce0abb6b562f7c3cee7f494bcd33d3b1104e 100644 (file)
 #include <asm/arch/board.h>
 #include <asm/arch/common.h>
 
-extern int omap_gpio_init(void);
-
 static void __init omap_generic_init_irq(void)
 {
        omap_init_irq();
-       omap_gpio_init();
 }
 
 /* assume no Mini-AB port */
index f4dc3193763dbb759e345cc6f620f031293704aa..c1618850438ff0f698d92da381dab2c31e9c61ec 100644 (file)
@@ -36,8 +36,6 @@
 #include <asm/arch/usb.h>
 #include <asm/arch/common.h>
 
-extern int omap_gpio_init(void);
-
 static struct mtd_partition innovator_partitions[] = {
        /* bootloader (U-Boot, etc) in first sector */
        {
index d458d86151f7848a7dbdc4fdf81e02dfefc9a69f..b5600568e90559705cdb7378621241bc890d36d6 100644 (file)
@@ -46,8 +46,6 @@
 #include <asm/arch/tc.h>
 #include <asm/arch/common.h>
 
-extern int omap_gpio_init(void);
-
 static struct mtd_partition osk_partitions[] = {
        /* bootloader (U-Boot, etc) in first sector */
        {
index 48697d2c439fda2f1eade29aadb7379e80138e40..b8aea2da7ea1b1ae3153aac03139bd0af3a6c306 100644 (file)
 #include <asm/arch/common.h>
 #include <asm/hardware/clock.h>
 
-extern int omap_gpio_init(void);
-
 static void __init omap_generic_init_irq(void)
 {
        omap_init_irq();
-       omap_gpio_init();
 }
 
 static struct omap_usb_config palmte_usb_config __initdata = {
index 7c7d26713ef7c4acd71836636dfc5c4b293da657..43021aa628be50149b4dbf91d8e63754b91a6de6 100644 (file)
@@ -31,8 +31,6 @@
 #include <asm/arch/common.h>
 #include <asm/arch/board.h>
 
-extern int omap_gpio_init(void);
-
 static struct resource smc91x_resources[] = {
        [0] = {
                .start  = H2P2_DBG_FPGA_ETHR_START,     /* Physical */
index 02ea9e12d84f810a12b82ee231232439a60009fc..c602e7a3d93e33463699e94cbb9b26c7b7410dbe 100644 (file)
 #include <asm/arch/board.h>
 #include <asm/arch/common.h>
 
-extern int omap_gpio_init(void);
-
 static void __init omap_generic_init_irq(void)
 {
        omap_init_irq();
-       omap_gpio_init();
 }
 
 static struct omap_uart_config generic_uart_config __initdata = {
index 7492d8d57aa334cfc4cca84432d2d6f1b2fa2ced..6c15efca003b897815b92517b1ad1e7d2a29dad9 100644 (file)
@@ -34,8 +34,6 @@
 #include <asm/io.h>
 #include <asm/delay.h>
 
-extern int omap_gpio_init(void);
-
 static struct mtd_partition h4_partitions[] = {
        /* bootloader (U-Boot, etc) in first sector */
        {