Skip to content

Commit

Permalink
ARM: realview: convert pl061 no irq to 0 instead of -1
Browse files Browse the repository at this point in the history
Drivers should use 0 for no irq, so convert realview platforms pl061
platform_data over to use 0.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Russell King <linux@arm.linux.org.uk>
  • Loading branch information
Rob Herring committed Jan 4, 2012
1 parent f2ab2ba commit 2b84112
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-realview/realview_eb.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,14 @@ static void __init realview_eb_map_io(void)

static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0,
.irq_base = -1,
};

static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8,
.irq_base = -1,
};

static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16,
.irq_base = -1,
};

static struct pl022_ssp_controller ssp0_plat_data = {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-realview/realview_pb1176.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,14 @@ static void __init realview_pb1176_map_io(void)

static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0,
.irq_base = -1,
};

static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8,
.irq_base = -1,
};

static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16,
.irq_base = -1,
};

static struct pl022_ssp_controller ssp0_plat_data = {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-realview/realview_pb11mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,14 @@ static void __init realview_pb11mp_map_io(void)

static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0,
.irq_base = -1,
};

static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8,
.irq_base = -1,
};

static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16,
.irq_base = -1,
};

static struct pl022_ssp_controller ssp0_plat_data = {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-realview/realview_pba8.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,14 @@ static void __init realview_pba8_map_io(void)

static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0,
.irq_base = -1,
};

static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8,
.irq_base = -1,
};

static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16,
.irq_base = -1,
};

static struct pl022_ssp_controller ssp0_plat_data = {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-realview/realview_pbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,14 @@ static void __init realview_pbx_map_io(void)

static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0,
.irq_base = -1,
};

static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8,
.irq_base = -1,
};

static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16,
.irq_base = -1,
};

static struct pl022_ssp_controller ssp0_plat_data = {
Expand Down

0 comments on commit 2b84112

Please sign in to comment.