aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-31 05:15:20 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-20 18:51:01 -0400
commite8f39549580e04e0b8edd11bae834ae7f8322fc8 (patch)
tree3e93830541b90301a82ce0510a4917d6fcc847ff /arch/ppc/platforms
parent[BLACKFIN] minor irq handler cleanups (diff)
downloadlinux-dev-e8f39549580e04e0b8edd11bae834ae7f8322fc8.tar.xz
linux-dev-e8f39549580e04e0b8edd11bae834ae7f8322fc8.zip
[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')
-rw-r--r--arch/ppc/platforms/sbc82xx.c4
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 = {
.end = sbc82xx_i8259_end_irq,
};
-static irqreturn_t sbc82xx_i8259_demux(int irq, void *dev_id)
+static irqreturn_t sbc82xx_i8259_demux(int dummy, void *dev_id)
{
+ int irq;
+
spin_lock(&sbc82xx_i8259_lock);
sbc82xx_i8259_map[0] = 0x0c; /* OCW3: Read IR register on RD# pulse */