diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-02-15 04:24:31 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-15 04:24:31 -0500 |
commit | 0a9d59a2461477bd9ed143c01af9df3f8f00fa81 (patch) | |
tree | df997d1cfb0786427a0df1fbd6f0640fa4248cf4 /arch/arm/mach-lh7a40x/arch-kev7a400.c | |
parent | a23ce6da9677d245aa0aadc99f4197030350ab54 (diff) | |
parent | 795abaf1e4e188c4171e3cd3dbb11a9fcacaf505 (diff) |
Merge branch 'master' into for-next
Diffstat (limited to 'arch/arm/mach-lh7a40x/arch-kev7a400.c')
-rw-r--r-- | arch/arm/mach-lh7a40x/arch-kev7a400.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-lh7a40x/arch-kev7a400.c b/arch/arm/mach-lh7a40x/arch-kev7a400.c index 9088c16662e..71129c33c7d 100644 --- a/arch/arm/mach-lh7a40x/arch-kev7a400.c +++ b/arch/arm/mach-lh7a40x/arch-kev7a400.c | |||
@@ -46,28 +46,28 @@ void __init kev7a400_map_io(void) | |||
46 | 46 | ||
47 | static u16 CPLD_IRQ_mask; /* Mask for CPLD IRQs, 1 == unmasked */ | 47 | static u16 CPLD_IRQ_mask; /* Mask for CPLD IRQs, 1 == unmasked */ |
48 | 48 | ||
49 | static void kev7a400_ack_cpld_irq (u32 irq) | 49 | static void kev7a400_ack_cpld_irq(struct irq_data *d) |
50 | { | 50 | { |
51 | CPLD_CL_INT = 1 << (irq - IRQ_KEV7A400_CPLD); | 51 | CPLD_CL_INT = 1 << (d->irq - IRQ_KEV7A400_CPLD); |
52 | } | 52 | } |
53 | 53 | ||
54 | static void kev7a400_mask_cpld_irq (u32 irq) | 54 | static void kev7a400_mask_cpld_irq(struct irq_data *d) |
55 | { | 55 | { |
56 | CPLD_IRQ_mask &= ~(1 << (irq - IRQ_KEV7A400_CPLD)); | 56 | CPLD_IRQ_mask &= ~(1 << (d->irq - IRQ_KEV7A400_CPLD)); |
57 | CPLD_WR_PB_INT_MASK = CPLD_IRQ_mask; | 57 | CPLD_WR_PB_INT_MASK = CPLD_IRQ_mask; |
58 | } | 58 | } |
59 | 59 | ||
60 | static void kev7a400_unmask_cpld_irq (u32 irq) | 60 | static void kev7a400_unmask_cpld_irq(struct irq_data *d) |
61 | { | 61 | { |
62 | CPLD_IRQ_mask |= 1 << (irq - IRQ_KEV7A400_CPLD); | 62 | CPLD_IRQ_mask |= 1 << (d->irq - IRQ_KEV7A400_CPLD); |
63 | CPLD_WR_PB_INT_MASK = CPLD_IRQ_mask; | 63 | CPLD_WR_PB_INT_MASK = CPLD_IRQ_mask; |
64 | } | 64 | } |
65 | 65 | ||
66 | static struct irq_chip kev7a400_cpld_chip = { | 66 | static struct irq_chip kev7a400_cpld_chip = { |
67 | .name = "CPLD", | 67 | .name = "CPLD", |
68 | .ack = kev7a400_ack_cpld_irq, | 68 | .irq_ack = kev7a400_ack_cpld_irq, |
69 | .mask = kev7a400_mask_cpld_irq, | 69 | .irq_mask = kev7a400_mask_cpld_irq, |
70 | .unmask = kev7a400_unmask_cpld_irq, | 70 | .irq_unmask = kev7a400_unmask_cpld_irq, |
71 | }; | 71 | }; |
72 | 72 | ||
73 | 73 | ||