提交 af24fdc1 编写于 作者: P Paul Mundt

sh: x3proto: Trivial ILSEL build fix.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册