diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index a8810f83a573..d54969be0a54 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -226,8 +226,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
226 | 226 | ||
227 | static void __init omap_2430sdp_init(void) | 227 | static void __init omap_2430sdp_init(void) |
228 | { | 228 | { |
229 | int ret; | ||
230 | |||
231 | omap2430_mux_init(board_mux, OMAP_PACKAGE_ZAC); | 229 | omap2430_mux_init(board_mux, OMAP_PACKAGE_ZAC); |
232 | 230 | ||
233 | omap_board_config = sdp2430_config; | 231 | omap_board_config = sdp2430_config; |
@@ -246,9 +244,8 @@ static void __init omap_2430sdp_init(void) | |||
246 | board_smc91x_init(); | 244 | board_smc91x_init(); |
247 | 245 | ||
248 | /* Turn off secondary LCD backlight */ | 246 | /* Turn off secondary LCD backlight */ |
249 | ret = gpio_request(SECONDARY_LCD_GPIO, "Secondary LCD backlight"); | 247 | gpio_request_one(SECONDARY_LCD_GPIO, GPIOF_OUT_INIT_LOW, |
250 | if (ret == 0) | 248 | "Secondary LCD backlight"); |
251 | gpio_direction_output(SECONDARY_LCD_GPIO, 0); | ||
252 | } | 249 | } |
253 | 250 | ||
254 | static void __init omap_2430sdp_map_io(void) | 251 | static void __init omap_2430sdp_map_io(void) |