aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ff9c7edf1b6f..6d4454fef97c 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)
140 unsigned long addr; 140 unsigned long addr;
141 unsigned int tmp; 141 unsigned int tmp;
142 142
143 addr = mk_ilsel_addr(bit); 143 addr = mk_ilsel_addr(irq);
144 144
145 tmp = ctrl_inw(addr); 145 tmp = ctrl_inw(addr);
146 tmp &= ~(0xf << mk_ilsel_shift(bit)); 146 tmp &= ~(0xf << mk_ilsel_shift(irq));
147 ctrl_outw(tmp, addr); 147 ctrl_outw(tmp, addr);
148 148
149 clear_bit(bit, &ilsel_level_map); 149 clear_bit(irq, &ilsel_level_map);
150} 150}
151EXPORT_SYMBOL_GPL(ilsel_disable); 151EXPORT_SYMBOL_GPL(ilsel_disable);