From: Paul Mundt Date: Wed, 8 Aug 2007 07:31:38 +0000 (+0900) Subject: sh: x3proto: Trivial ILSEL build fix. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=af24fdc1685ff8b27075afbc12d7f6b35b385ae1;p=linux-beck.git sh: x3proto: Trivial ILSEL build fix. Signed-off-by: Paul Mundt --- 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) 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);