Commit 2b841127 authored by Rob Herring's avatar Rob Herring

ARM: realview: convert pl061 no irq to 0 instead of -1

Drivers should use 0 for no irq, so convert realview platforms pl061
platform_data over to use 0.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Cc: Russell King <linux@arm.linux.org.uk>
parent f2ab2ba0
...@@ -117,17 +117,14 @@ static void __init realview_eb_map_io(void) ...@@ -117,17 +117,14 @@ static void __init realview_eb_map_io(void)
static struct pl061_platform_data gpio0_plat_data = { static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0, .gpio_base = 0,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio1_plat_data = { static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8, .gpio_base = 8,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio2_plat_data = { static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16, .gpio_base = 16,
.irq_base = -1,
}; };
static struct pl022_ssp_controller ssp0_plat_data = { static struct pl022_ssp_controller ssp0_plat_data = {
......
...@@ -113,17 +113,14 @@ static void __init realview_pb1176_map_io(void) ...@@ -113,17 +113,14 @@ static void __init realview_pb1176_map_io(void)
static struct pl061_platform_data gpio0_plat_data = { static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0, .gpio_base = 0,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio1_plat_data = { static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8, .gpio_base = 8,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio2_plat_data = { static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16, .gpio_base = 16,
.irq_base = -1,
}; };
static struct pl022_ssp_controller ssp0_plat_data = { static struct pl022_ssp_controller ssp0_plat_data = {
......
...@@ -112,17 +112,14 @@ static void __init realview_pb11mp_map_io(void) ...@@ -112,17 +112,14 @@ static void __init realview_pb11mp_map_io(void)
static struct pl061_platform_data gpio0_plat_data = { static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0, .gpio_base = 0,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio1_plat_data = { static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8, .gpio_base = 8,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio2_plat_data = { static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16, .gpio_base = 16,
.irq_base = -1,
}; };
static struct pl022_ssp_controller ssp0_plat_data = { static struct pl022_ssp_controller ssp0_plat_data = {
......
...@@ -102,17 +102,14 @@ static void __init realview_pba8_map_io(void) ...@@ -102,17 +102,14 @@ static void __init realview_pba8_map_io(void)
static struct pl061_platform_data gpio0_plat_data = { static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0, .gpio_base = 0,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio1_plat_data = { static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8, .gpio_base = 8,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio2_plat_data = { static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16, .gpio_base = 16,
.irq_base = -1,
}; };
static struct pl022_ssp_controller ssp0_plat_data = { static struct pl022_ssp_controller ssp0_plat_data = {
......
...@@ -124,17 +124,14 @@ static void __init realview_pbx_map_io(void) ...@@ -124,17 +124,14 @@ static void __init realview_pbx_map_io(void)
static struct pl061_platform_data gpio0_plat_data = { static struct pl061_platform_data gpio0_plat_data = {
.gpio_base = 0, .gpio_base = 0,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio1_plat_data = { static struct pl061_platform_data gpio1_plat_data = {
.gpio_base = 8, .gpio_base = 8,
.irq_base = -1,
}; };
static struct pl061_platform_data gpio2_plat_data = { static struct pl061_platform_data gpio2_plat_data = {
.gpio_base = 16, .gpio_base = 16,
.irq_base = -1,
}; };
static struct pl022_ssp_controller ssp0_plat_data = { static struct pl022_ssp_controller ssp0_plat_data = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment