sh: x3proto: Trivial ILSEL build fix.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 8 Aug 2007 07:31:38 +0000 (16:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:48 +0000 (11:57 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/x3proto/ilsel.c

index ff9c7edf1b6fbcd4780053cbb0c64a15edb263a0..6d4454fef97c948e3ba9640ced74c636e326adcc 100644 (file)
@@ -140,12 +140,12 @@ void ilsel_disable(unsigned int irq)
        unsigned long addr;
        unsigned int tmp;
 
-       addr = mk_ilsel_addr(bit);
+       addr = mk_ilsel_addr(irq);
 
        tmp = ctrl_inw(addr);
-       tmp &= ~(0xf << mk_ilsel_shift(bit));
+       tmp &= ~(0xf << mk_ilsel_shift(irq));
        ctrl_outw(tmp, addr);
 
-       clear_bit(bit, &ilsel_level_map);
+       clear_bit(irq, &ilsel_level_map);
 }
 EXPORT_SYMBOL_GPL(ilsel_disable);