diff options
Diffstat (limited to 'arch/arm/mach-pxa/trizeps4.c')
-rw-r--r-- | arch/arm/mach-pxa/trizeps4.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c index 61e244023089..3ed757e6bcc8 100644 --- a/arch/arm/mach-pxa/trizeps4.c +++ b/arch/arm/mach-pxa/trizeps4.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/setup.h> | 31 | #include <asm/setup.h> |
32 | #include <asm/memory.h> | 32 | #include <asm/memory.h> |
33 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
34 | #include <asm/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
36 | #include <asm/sizes.h> | 36 | #include <asm/sizes.h> |
37 | 37 | ||
@@ -40,15 +40,15 @@ | |||
40 | #include <asm/mach/irq.h> | 40 | #include <asm/mach/irq.h> |
41 | #include <asm/mach/flash.h> | 41 | #include <asm/mach/flash.h> |
42 | 42 | ||
43 | #include <asm/arch/pxa-regs.h> | 43 | #include <mach/pxa-regs.h> |
44 | #include <asm/arch/pxa2xx-regs.h> | 44 | #include <mach/pxa2xx-regs.h> |
45 | #include <asm/arch/pxa2xx-gpio.h> | 45 | #include <mach/pxa2xx-gpio.h> |
46 | #include <asm/arch/trizeps4.h> | 46 | #include <mach/trizeps4.h> |
47 | #include <asm/arch/audio.h> | 47 | #include <mach/audio.h> |
48 | #include <asm/arch/pxafb.h> | 48 | #include <mach/pxafb.h> |
49 | #include <asm/arch/mmc.h> | 49 | #include <mach/mmc.h> |
50 | #include <asm/arch/irda.h> | 50 | #include <mach/irda.h> |
51 | #include <asm/arch/ohci.h> | 51 | #include <mach/ohci.h> |
52 | 52 | ||
53 | #include "generic.h" | 53 | #include "generic.h" |
54 | #include "devices.h" | 54 | #include "devices.h" |
@@ -122,7 +122,7 @@ static struct resource dm9000_resources[] = { | |||
122 | [2] = { | 122 | [2] = { |
123 | .start = TRIZEPS4_ETH_IRQ, | 123 | .start = TRIZEPS4_ETH_IRQ, |
124 | .end = TRIZEPS4_ETH_IRQ, | 124 | .end = TRIZEPS4_ETH_IRQ, |
125 | .flags = (IORESOURCE_IRQ | IRQT_RISING), | 125 | .flags = (IORESOURCE_IRQ | IRQ_TYPE_EDGE_RISING), |
126 | }, | 126 | }, |
127 | }; | 127 | }; |
128 | 128 | ||
@@ -254,6 +254,7 @@ static void board_irda_mode(struct device *dev, int mode) | |||
254 | /* Fast mode */ | 254 | /* Fast mode */ |
255 | trizeps_conxs_ircr |= ConXS_IRCR_MODE; | 255 | trizeps_conxs_ircr |= ConXS_IRCR_MODE; |
256 | } | 256 | } |
257 | pxa2xx_transceiver_mode(dev, mode); | ||
257 | if (mode & IR_OFF) { | 258 | if (mode & IR_OFF) { |
258 | trizeps_conxs_ircr |= ConXS_IRCR_SD; | 259 | trizeps_conxs_ircr |= ConXS_IRCR_SD; |
259 | } else { | 260 | } else { |