aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-08-22 03:47:21 -0400
committerTony Lindgren <tony@atomide.com>2013-08-22 03:56:26 -0400
commitaf0721966195b3966214edd54af0d5f84d65419a (patch)
treeddca53db6f60f7f138d1537b45deb2922845cadf
parenta04feb03419f62b7796feb3d1ae387e45feaeaf0 (diff)
ARM: OMAP2: use 'int' instead of 'unsigned' for variable 'gpmc_irq_start'
'gpmc_irq_start' is mostly used as 'int', and for a variable, do not suggest to only use 'unsigned' as its type, so use 'int' instead of 'unsigned' for variable 'gpmc_irq_start'. Also it will fix the related issue (dummy the real world failure): arch/arm/mach-omap2/gpmc.c:728:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/gpmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index f3fdd6afa213..9f4795aff48a 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
@@ -149,7 +149,7 @@ struct omap3_gpmc_regs {
149 149
150static struct gpmc_client_irq gpmc_client_irq[GPMC_NR_IRQ]; 150static struct gpmc_client_irq gpmc_client_irq[GPMC_NR_IRQ];
151static struct irq_chip gpmc_irq_chip; 151static struct irq_chip gpmc_irq_chip;
152static unsigned gpmc_irq_start; 152static int gpmc_irq_start;
153 153
154static struct resource gpmc_mem_root; 154static struct resource gpmc_mem_root;
155static struct resource gpmc_cs_mem[GPMC_CS_NUM]; 155static struct resource gpmc_cs_mem[GPMC_CS_NUM];