Fix a build breakage in CBUS initialization code in Nokia 770 and N8x0 boards that appeared after commit 0c6f8a8 "genirq: Remove compat code". Signed-off-by: Jarkko Nikula <jhnikula@xxxxxxxxx> --- Build breakage that is only in linux-omap-2.6/cbus branch. --- arch/arm/mach-omap1/board-nokia770.c | 2 +- arch/arm/mach-omap2/board-n8x0.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index e2537b8..5d174a3 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c @@ -177,7 +177,7 @@ static void __init nokia770_cbus_init(void) return; } - set_irq_type(gpio_to_irq(62), IRQ_TYPE_EDGE_RISING); + irq_set_irq_type(gpio_to_irq(62), IRQ_TYPE_EDGE_RISING); retu_resource[0].start = gpio_to_irq(62); platform_device_register(&retu_device); diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index bd7937a..9ae6dff 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c @@ -274,7 +274,7 @@ static void __init n8x0_cbus_init(void) return; } - set_irq_type(gpio_to_irq(108), IRQ_TYPE_EDGE_RISING); + irq_set_irq_type(gpio_to_irq(108), IRQ_TYPE_EDGE_RISING); retu_resource[0].start = gpio_to_irq(108); platform_device_register(&retu_device); -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html