aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm355-leopard.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/board-dm355-leopard.c')
-rw-r--r--arch/arm/mach-davinci/board-dm355-leopard.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c
index 65a984c52df6..43bacbf15314 100644
--- a/arch/arm/mach-davinci/board-dm355-leopard.c
+++ b/arch/arm/mach-davinci/board-dm355-leopard.c
@@ -19,15 +19,16 @@
19#include <linux/clk.h> 19#include <linux/clk.h>
20#include <linux/spi/spi.h> 20#include <linux/spi/spi.h>
21#include <linux/spi/eeprom.h> 21#include <linux/spi/eeprom.h>
22#include <linux/platform_data/i2c-davinci.h>
23#include <linux/platform_data/mmc-davinci.h>
24#include <linux/platform_data/mtd-davinci.h>
25#include <linux/platform_data/usb-davinci.h>
22 26
23#include <asm/mach-types.h> 27#include <asm/mach-types.h>
24#include <asm/mach/arch.h> 28#include <asm/mach/arch.h>
25 29
26#include <linux/platform_data/i2c-davinci.h> 30#include <mach/common.h>
27#include <mach/serial.h> 31#include <mach/serial.h>
28#include <linux/platform_data/mtd-davinci.h>
29#include <linux/platform_data/mmc-davinci.h>
30#include <linux/platform_data/usb-davinci.h>
31 32
32#include "davinci.h" 33#include "davinci.h"
33 34
@@ -234,6 +235,11 @@ static struct spi_board_info dm355_leopard_spi_info[] __initconst = {
234static __init void dm355_leopard_init(void) 235static __init void dm355_leopard_init(void)
235{ 236{
236 struct clk *aemif; 237 struct clk *aemif;
238 int ret;
239
240 ret = dm355_gpio_register();
241 if (ret)
242 pr_warn("%s: GPIO init failed: %d\n", __func__, ret);
237 243
238 gpio_request(9, "dm9000"); 244 gpio_request(9, "dm9000");
239 gpio_direction_input(9); 245 gpio_direction_input(9);