diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index e1f8dda62799..07399505312b 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -33,11 +33,11 @@ | |||
33 | 33 | ||
34 | #include <plat/board.h> | 34 | #include <plat/board.h> |
35 | #include <plat/common.h> | 35 | #include <plat/common.h> |
36 | #include <plat/control.h> | ||
37 | #include <plat/usb.h> | 36 | #include <plat/usb.h> |
38 | #include <plat/display.h> | 37 | #include <plat/display.h> |
39 | 38 | ||
40 | #include "mux.h" | 39 | #include "mux.h" |
40 | #include "control.h" | ||
41 | 41 | ||
42 | #define AM35XX_EVM_MDIO_FREQUENCY (1000000) | 42 | #define AM35XX_EVM_MDIO_FREQUENCY (1000000) |
43 | 43 | ||
@@ -125,7 +125,7 @@ static void am3517_disable_ethernet_int(void) | |||
125 | regval = omap_ctrl_readl(AM35XX_CONTROL_LVL_INTR_CLEAR); | 125 | regval = omap_ctrl_readl(AM35XX_CONTROL_LVL_INTR_CLEAR); |
126 | } | 126 | } |
127 | 127 | ||
128 | void am3517_evm_ethernet_init(struct emac_platform_data *pdata) | 128 | static void am3517_evm_ethernet_init(struct emac_platform_data *pdata) |
129 | { | 129 | { |
130 | unsigned int regval; | 130 | unsigned int regval; |
131 | 131 | ||
@@ -160,7 +160,6 @@ void am3517_evm_ethernet_init(struct emac_platform_data *pdata) | |||
160 | static struct i2c_board_info __initdata am3517evm_i2c1_boardinfo[] = { | 160 | static struct i2c_board_info __initdata am3517evm_i2c1_boardinfo[] = { |
161 | { | 161 | { |
162 | I2C_BOARD_INFO("s35390a", 0x30), | 162 | I2C_BOARD_INFO("s35390a", 0x30), |
163 | .type = "s35390a", | ||
164 | }, | 163 | }, |
165 | }; | 164 | }; |
166 | 165 | ||
@@ -368,7 +367,7 @@ static struct omap_dss_board_info am3517_evm_dss_data = { | |||
368 | .default_device = &am3517_evm_lcd_device, | 367 | .default_device = &am3517_evm_lcd_device, |
369 | }; | 368 | }; |
370 | 369 | ||
371 | struct platform_device am3517_evm_dss_device = { | 370 | static struct platform_device am3517_evm_dss_device = { |
372 | .name = "omapdss", | 371 | .name = "omapdss", |
373 | .id = -1, | 372 | .id = -1, |
374 | .dev = { | 373 | .dev = { |