diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-15 15:33:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-15 15:33:40 -0500 |
commit | 16c1020362083b320868c0deef492249089c3cd3 (patch) | |
tree | ff200df3502e6010745713275d69fd0a07e399cf /arch/arm/mach-ixp23xx/ixdp2351.c | |
parent | 65e5d002b5ad220db2bf9557f53de5a98f7dab86 (diff) | |
parent | bbba75606963c82febf7bd2761ea848ac5d1a1bb (diff) |
Merge branch 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (161 commits)
ARM: pxa: fix building issue of missing physmap.h
ARM: mmp: PXA910 drive strength FAST using wrong value
ARM: mmp: MMP2 drive strength FAST using wrong value
ARM: pxa: fix recursive calls in pxa_low_gpio_chip
AT91: Support for gsia18s board
AT91: Acme Systems FOX Board G20 board files
AT91: board-sam9m10g45ek.c: Remove duplicate inclusion of mach/hardware.h
ARM: pxa: fix suspend/resume array index miscalculation
ARM: pxa: use cpu_has_ipr() consistently in irq.c
ARM: pxa: remove unused variable in clock-pxa3xx.c
ARM: pxa: fix warning in zeus.c
ARM: sa1111: fix typo in sa1111_retrigger_lowirq()
ARM mxs: clkdev related compile fixes
ARM i.MX mx31_3ds: Fix MC13783 regulator names
ARM: plat-stmp3xxx: irq_data conversion.
ARM: plat-spear: irq_data conversion.
ARM: plat-orion: irq_data conversion.
ARM: plat-omap: irq_data conversion.
ARM: plat-nomadik: irq_data conversion.
ARM: plat-mxc: irq_data conversion.
...
Fix up trivial conflict in arch/arm/plat-omap/gpio.c (Lennert
Buytenhek's irq_data conversion clashing with some omap irq updates)
Diffstat (limited to 'arch/arm/mach-ixp23xx/ixdp2351.c')
-rw-r--r-- | arch/arm/mach-ixp23xx/ixdp2351.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/arch/arm/mach-ixp23xx/ixdp2351.c b/arch/arm/mach-ixp23xx/ixdp2351.c index 664e39c2a903..181116aa6591 100644 --- a/arch/arm/mach-ixp23xx/ixdp2351.c +++ b/arch/arm/mach-ixp23xx/ixdp2351.c | |||
@@ -48,14 +48,14 @@ | |||
48 | /* | 48 | /* |
49 | * IXDP2351 Interrupt Handling | 49 | * IXDP2351 Interrupt Handling |
50 | */ | 50 | */ |
51 | static void ixdp2351_inta_mask(unsigned int irq) | 51 | static void ixdp2351_inta_mask(struct irq_data *d) |
52 | { | 52 | { |
53 | *IXDP2351_CPLD_INTA_MASK_SET_REG = IXDP2351_INTA_IRQ_MASK(irq); | 53 | *IXDP2351_CPLD_INTA_MASK_SET_REG = IXDP2351_INTA_IRQ_MASK(d->irq); |
54 | } | 54 | } |
55 | 55 | ||
56 | static void ixdp2351_inta_unmask(unsigned int irq) | 56 | static void ixdp2351_inta_unmask(struct irq_data *d) |
57 | { | 57 | { |
58 | *IXDP2351_CPLD_INTA_MASK_CLR_REG = IXDP2351_INTA_IRQ_MASK(irq); | 58 | *IXDP2351_CPLD_INTA_MASK_CLR_REG = IXDP2351_INTA_IRQ_MASK(d->irq); |
59 | } | 59 | } |
60 | 60 | ||
61 | static void ixdp2351_inta_handler(unsigned int irq, struct irq_desc *desc) | 61 | static void ixdp2351_inta_handler(unsigned int irq, struct irq_desc *desc) |
@@ -64,7 +64,7 @@ static void ixdp2351_inta_handler(unsigned int irq, struct irq_desc *desc) | |||
64 | *IXDP2351_CPLD_INTA_STAT_REG & IXDP2351_INTA_IRQ_VALID; | 64 | *IXDP2351_CPLD_INTA_STAT_REG & IXDP2351_INTA_IRQ_VALID; |
65 | int i; | 65 | int i; |
66 | 66 | ||
67 | desc->chip->mask(irq); | 67 | desc->irq_data.chip->irq_mask(&desc->irq_data); |
68 | 68 | ||
69 | for (i = 0; i < IXDP2351_INTA_IRQ_NUM; i++) { | 69 | for (i = 0; i < IXDP2351_INTA_IRQ_NUM; i++) { |
70 | if (ex_interrupt & (1 << i)) { | 70 | if (ex_interrupt & (1 << i)) { |
@@ -74,23 +74,23 @@ static void ixdp2351_inta_handler(unsigned int irq, struct irq_desc *desc) | |||
74 | } | 74 | } |
75 | } | 75 | } |
76 | 76 | ||
77 | desc->chip->unmask(irq); | 77 | desc->irq_data.chip->irq_unmask(&desc->irq_data); |
78 | } | 78 | } |
79 | 79 | ||
80 | static struct irq_chip ixdp2351_inta_chip = { | 80 | static struct irq_chip ixdp2351_inta_chip = { |
81 | .ack = ixdp2351_inta_mask, | 81 | .irq_ack = ixdp2351_inta_mask, |
82 | .mask = ixdp2351_inta_mask, | 82 | .irq_mask = ixdp2351_inta_mask, |
83 | .unmask = ixdp2351_inta_unmask | 83 | .irq_unmask = ixdp2351_inta_unmask |
84 | }; | 84 | }; |
85 | 85 | ||
86 | static void ixdp2351_intb_mask(unsigned int irq) | 86 | static void ixdp2351_intb_mask(struct irq_data *d) |
87 | { | 87 | { |
88 | *IXDP2351_CPLD_INTB_MASK_SET_REG = IXDP2351_INTB_IRQ_MASK(irq); | 88 | *IXDP2351_CPLD_INTB_MASK_SET_REG = IXDP2351_INTB_IRQ_MASK(d->irq); |
89 | } | 89 | } |
90 | 90 | ||
91 | static void ixdp2351_intb_unmask(unsigned int irq) | 91 | static void ixdp2351_intb_unmask(struct irq_data *d) |
92 | { | 92 | { |
93 | *IXDP2351_CPLD_INTB_MASK_CLR_REG = IXDP2351_INTB_IRQ_MASK(irq); | 93 | *IXDP2351_CPLD_INTB_MASK_CLR_REG = IXDP2351_INTB_IRQ_MASK(d->irq); |
94 | } | 94 | } |
95 | 95 | ||
96 | static void ixdp2351_intb_handler(unsigned int irq, struct irq_desc *desc) | 96 | static void ixdp2351_intb_handler(unsigned int irq, struct irq_desc *desc) |
@@ -99,7 +99,7 @@ static void ixdp2351_intb_handler(unsigned int irq, struct irq_desc *desc) | |||
99 | *IXDP2351_CPLD_INTB_STAT_REG & IXDP2351_INTB_IRQ_VALID; | 99 | *IXDP2351_CPLD_INTB_STAT_REG & IXDP2351_INTB_IRQ_VALID; |
100 | int i; | 100 | int i; |
101 | 101 | ||
102 | desc->chip->ack(irq); | 102 | desc->irq_data.chip->irq_ack(&desc->irq_data); |
103 | 103 | ||
104 | for (i = 0; i < IXDP2351_INTB_IRQ_NUM; i++) { | 104 | for (i = 0; i < IXDP2351_INTB_IRQ_NUM; i++) { |
105 | if (ex_interrupt & (1 << i)) { | 105 | if (ex_interrupt & (1 << i)) { |
@@ -109,13 +109,13 @@ static void ixdp2351_intb_handler(unsigned int irq, struct irq_desc *desc) | |||
109 | } | 109 | } |
110 | } | 110 | } |
111 | 111 | ||
112 | desc->chip->unmask(irq); | 112 | desc->irq_data.chip->irq_unmask(&desc->irq_data); |
113 | } | 113 | } |
114 | 114 | ||
115 | static struct irq_chip ixdp2351_intb_chip = { | 115 | static struct irq_chip ixdp2351_intb_chip = { |
116 | .ack = ixdp2351_intb_mask, | 116 | .irq_ack = ixdp2351_intb_mask, |
117 | .mask = ixdp2351_intb_mask, | 117 | .irq_mask = ixdp2351_intb_mask, |
118 | .unmask = ixdp2351_intb_unmask | 118 | .irq_unmask = ixdp2351_intb_unmask |
119 | }; | 119 | }; |
120 | 120 | ||
121 | void __init ixdp2351_init_irq(void) | 121 | void __init ixdp2351_init_irq(void) |