aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/colibri.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/colibri.c')
-rw-r--r--arch/arm/mach-pxa/colibri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/colibri.c b/arch/arm/mach-pxa/colibri.c
index 6db54e31c39..574839d7c13 100644
--- a/arch/arm/mach-pxa/colibri.c
+++ b/arch/arm/mach-pxa/colibri.c
@@ -29,6 +29,7 @@
29#include <asm/mach/irq.h> 29#include <asm/mach/irq.h>
30#include <asm/mach/flash.h> 30#include <asm/mach/flash.h>
31#include <asm/arch/pxa-regs.h> 31#include <asm/arch/pxa-regs.h>
32#include <asm/arch/pxa2xx-gpio.h>
32#include <asm/arch/colibri.h> 33#include <asm/arch/colibri.h>
33 34
34#include "generic.h" 35#include "generic.h"
@@ -97,7 +98,7 @@ static struct resource dm9000_resources[] = {
97 [2] = { 98 [2] = {
98 .start = COLIBRI_ETH_IRQ, 99 .start = COLIBRI_ETH_IRQ,
99 .end = COLIBRI_ETH_IRQ, 100 .end = COLIBRI_ETH_IRQ,
100 .flags = IORESOURCE_IRQ, 101 .flags = IORESOURCE_IRQ | IRQF_TRIGGER_RISING,
101 }, 102 },
102}; 103};
103 104
@@ -118,7 +119,6 @@ static void __init colibri_init(void)
118 /* DM9000 LAN */ 119 /* DM9000 LAN */
119 pxa_gpio_mode(GPIO78_nCS_2_MD); 120 pxa_gpio_mode(GPIO78_nCS_2_MD);
120 pxa_gpio_mode(GPIO_DM9000 | GPIO_IN); 121 pxa_gpio_mode(GPIO_DM9000 | GPIO_IN);
121 set_irq_type(COLIBRI_ETH_IRQ, IRQT_FALLING);
122 122
123 platform_add_devices(colibri_devices, ARRAY_SIZE(colibri_devices)); 123 platform_add_devices(colibri_devices, ARRAY_SIZE(colibri_devices));
124} 124}