Commit 498f3eb7 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Make sure omap_gpio_init is called for all boards

Make sure omap_gpio_init is called for all boards
parent 67ad0644
......@@ -28,9 +28,12 @@
#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 */
......
......@@ -36,6 +36,8 @@
#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 */
{
......
......@@ -46,6 +46,8 @@
#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 */
{
......
......@@ -32,9 +32,12 @@
#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 = {
......
......@@ -31,6 +31,8 @@
#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 */
......
......@@ -31,9 +31,12 @@
#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 = {
......
......@@ -34,6 +34,8 @@
#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 */
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment