Patchwork [12/31] ARM: amba: mxs: get rid of NO_IRQ initializers

login
register
mail settings
Submitter Russell King - ARM Linux
Date Jan. 20, 2012, 9:26 a.m.
Message ID <E1RoAjs-0005F5-2V@rmk-PC.arm.linux.org.uk>
Download mbox | patch
Permalink /patch/136993/
State New
Headers show

Comments

Russell King - ARM Linux - Jan. 20, 2012, 9:26 a.m.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 arch/arm/mach-mxs/devices/amba-duart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Shawn Guo - Jan. 20, 2012, 12:27 p.m.
On Fri, Jan 20, 2012 at 09:26:28AM +0000, Russell King - ARM Linux wrote:
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Acked-by: Shawn Guo <shawn.guo@linaro.org>

> ---
>  arch/arm/mach-mxs/devices/amba-duart.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-mxs/devices/amba-duart.c b/arch/arm/mach-mxs/devices/amba-duart.c
> index a559db0..a5479f7 100644
> --- a/arch/arm/mach-mxs/devices/amba-duart.c
> +++ b/arch/arm/mach-mxs/devices/amba-duart.c
> @@ -23,7 +23,7 @@ const struct amba_device name##_device __initconst = {		\
>  		.end = (soc ## _DUART_BASE_ADDR) + SZ_8K - 1,	\
>  		.flags = IORESOURCE_MEM,			\
>  	},							\
> -	.irq = {soc ## _INT_DUART, NO_IRQ},			\
> +	.irq = {soc ## _INT_DUART},				\
>  }
>  
>  #ifdef CONFIG_SOC_IMX23
> --

Patch

diff --git a/arch/arm/mach-mxs/devices/amba-duart.c b/arch/arm/mach-mxs/devices/amba-duart.c
index a559db0..a5479f7 100644
--- a/arch/arm/mach-mxs/devices/amba-duart.c
+++ b/arch/arm/mach-mxs/devices/amba-duart.c
@@ -23,7 +23,7 @@  const struct amba_device name##_device __initconst = {		\
 		.end = (soc ## _DUART_BASE_ADDR) + SZ_8K - 1,	\
 		.flags = IORESOURCE_MEM,			\
 	},							\
-	.irq = {soc ## _INT_DUART, NO_IRQ},			\
+	.irq = {soc ## _INT_DUART},				\
 }
 
 #ifdef CONFIG_SOC_IMX23