Commit af24fdc1 authored by Paul Mundt's avatar Paul Mundt

sh: x3proto: Trivial ILSEL build fix.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e7109a96
......@@ -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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment