ARM: pxa: encode IRQ number into .nr_irqs
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Acked-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:

committed by
Eric Miao

parent
1b43d8eda7
commit
6ac6b817f3
@@ -229,7 +229,7 @@ static struct resource sa1111_resources[] = {
|
||||
};
|
||||
|
||||
static struct sa1111_platform_data sa1111_info = {
|
||||
.irq_base = IRQ_BOARD_END,
|
||||
.irq_base = LUBBOCK_SA1111_IRQ_BASE,
|
||||
};
|
||||
|
||||
static struct platform_device sa1111_device = {
|
||||
@@ -560,6 +560,7 @@ MACHINE_START(LUBBOCK, "Intel DBPXA250 Development Platform (aka Lubbock)")
|
||||
.phys_io = 0x40000000,
|
||||
.io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
|
||||
.map_io = lubbock_map_io,
|
||||
.nr_irqs = LUBBOCK_NR_IRQS,
|
||||
.init_irq = lubbock_init_irq,
|
||||
.timer = &pxa_timer,
|
||||
.init_machine = lubbock_init,
|
||||
|
Reference in New Issue
Block a user