summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-08-08 16:31:38 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-09-21 11:57:48 +0900
commitaf24fdc1685ff8b27075afbc12d7f6b35b385ae1 (patch)
treebb7d4fe99eedd73e3a03357d974795b1d2862f00 /arch/sh
parente7109a96e6e2a1f7c4b778146902d86c4f558949 (diff)
downloadlinux-3.10-af24fdc1685ff8b27075afbc12d7f6b35b385ae1.tar.gz
linux-3.10-af24fdc1685ff8b27075afbc12d7f6b35b385ae1.tar.bz2
linux-3.10-af24fdc1685ff8b27075afbc12d7f6b35b385ae1.zip
sh: x3proto: Trivial ILSEL build fix.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/renesas/x3proto/ilsel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/boards/renesas/x3proto/ilsel.c b/arch/sh/boards/renesas/x3proto/ilsel.c
index ff9c7edf1b6..6d4454fef97 100644
--- a/arch/sh/boards/renesas/x3proto/ilsel.c
+++ b/arch/sh/boards/renesas/x3proto/ilsel.c
@@ -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);