diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-31 05:15:20 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-20 18:51:01 -0400 |
commit | e8f39549580e04e0b8edd11bae834ae7f8322fc8 (patch) | |
tree | 3e93830541b90301a82ce0510a4917d6fcc847ff /arch/ppc/platforms/sbc82xx.c | |
parent | 349a2444cfcd6c078a8410c19cd7a950ff89bd96 (diff) |
[PPC] minor irq handler cleanups
- whitespace cleanups
- remove pointless prototype (uses always follow func implementation)
- 'irq' argument is used here purely as a local variable. rename
argument to 'dummy' and define 'irq' as local to make this plain.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/ppc/platforms/sbc82xx.c')
-rw-r--r-- | arch/ppc/platforms/sbc82xx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ppc/platforms/sbc82xx.c b/arch/ppc/platforms/sbc82xx.c index cc0935ccab7a..0df6aacb8237 100644 --- a/arch/ppc/platforms/sbc82xx.c +++ b/arch/ppc/platforms/sbc82xx.c | |||
@@ -121,8 +121,10 @@ struct hw_interrupt_type sbc82xx_i8259_ic = { | |||
121 | .end = sbc82xx_i8259_end_irq, | 121 | .end = sbc82xx_i8259_end_irq, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static irqreturn_t sbc82xx_i8259_demux(int irq, void *dev_id) | 124 | static irqreturn_t sbc82xx_i8259_demux(int dummy, void *dev_id) |
125 | { | 125 | { |
126 | int irq; | ||
127 | |||
126 | spin_lock(&sbc82xx_i8259_lock); | 128 | spin_lock(&sbc82xx_i8259_lock); |
127 | 129 | ||
128 | sbc82xx_i8259_map[0] = 0x0c; /* OCW3: Read IR register on RD# pulse */ | 130 | sbc82xx_i8259_map[0] = 0x0c; /* OCW3: Read IR register on RD# pulse */ |