diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-02 11:07:03 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-02 11:07:03 -0400 |
commit | ced62c33fc434b9d44118c9f35803af8088cc3fe (patch) | |
tree | 34d1145899e0e5853c4d5b45162f86bbe46941ea /arch/arm/mach-at91/board-sam9261ek.c | |
parent | 3ff80abce7d0d3c1eacda53e73c94a57ade2e0a5 (diff) | |
parent | 6838e601e6dc63440fd4315c1c2f3a2ef4ccdd6e (diff) |
Merge tag 'imx-cleanup' of git://git.pengutronix.de/git/imx/linux-2.6 into next/cleanup
From: Sascha Hauer <s.hauer@pengutronix.de>
ARM: i.MX cleanups for 3.5
* tag 'imx-cleanup' of git://git.pengutronix.de/git/imx/linux-2.6: (5 commits)
ARM: mx53: fix pad definitions for MX53_PAD_EIM_D28__I2C1_SDA and MX53_PAD_GPIO_8__CAN1_RXCAN
ARM: imx/eukrea_mbimx27-baseboard: fix typo in error message
ARM: i.MX51 iomux: add missed definitions for SION-bit and mode for some pads
arm: imx: add missing select IMX_HAVE_PLATFORM for MACH_MX35_3DS in Kconfig
arm: imx: make various struct sys_timer static
Includes an update to 3.4-rc4
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9261ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 065b5ee35070..2736453821b0 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -76,8 +76,6 @@ static struct resource dm9000_resource[] = { | |||
76 | .flags = IORESOURCE_MEM | 76 | .flags = IORESOURCE_MEM |
77 | }, | 77 | }, |
78 | [2] = { | 78 | [2] = { |
79 | .start = AT91_PIN_PC11, | ||
80 | .end = AT91_PIN_PC11, | ||
81 | .flags = IORESOURCE_IRQ | 79 | .flags = IORESOURCE_IRQ |
82 | | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE, | 80 | | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE, |
83 | } | 81 | } |
@@ -121,6 +119,8 @@ static struct sam9_smc_config __initdata dm9000_smc_config = { | |||
121 | 119 | ||
122 | static void __init ek_add_device_dm9000(void) | 120 | static void __init ek_add_device_dm9000(void) |
123 | { | 121 | { |
122 | struct resource *r = &dm9000_resource[2]; | ||
123 | |||
124 | /* Configure chip-select 2 (DM9000) */ | 124 | /* Configure chip-select 2 (DM9000) */ |
125 | sam9_smc_configure(0, 2, &dm9000_smc_config); | 125 | sam9_smc_configure(0, 2, &dm9000_smc_config); |
126 | 126 | ||
@@ -130,6 +130,7 @@ static void __init ek_add_device_dm9000(void) | |||
130 | /* Configure Interrupt pin as input, no pull-up */ | 130 | /* Configure Interrupt pin as input, no pull-up */ |
131 | at91_set_gpio_input(AT91_PIN_PC11, 0); | 131 | at91_set_gpio_input(AT91_PIN_PC11, 0); |
132 | 132 | ||
133 | r->start = r->end = gpio_to_irq(AT91_PIN_PC11); | ||
133 | platform_device_register(&dm9000_device); | 134 | platform_device_register(&dm9000_device); |
134 | } | 135 | } |
135 | #else | 136 | #else |