Commit af072196 authored by Chen Gang's avatar Chen Gang Committed by Tony Lindgren

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: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a04feb03
...@@ -149,7 +149,7 @@ struct omap3_gpmc_regs { ...@@ -149,7 +149,7 @@ struct omap3_gpmc_regs {
static struct gpmc_client_irq gpmc_client_irq[GPMC_NR_IRQ]; static struct gpmc_client_irq gpmc_client_irq[GPMC_NR_IRQ];
static struct irq_chip gpmc_irq_chip; static struct irq_chip gpmc_irq_chip;
static unsigned gpmc_irq_start; static int gpmc_irq_start;
static struct resource gpmc_mem_root; static struct resource gpmc_mem_root;
static struct resource gpmc_cs_mem[GPMC_CS_NUM]; static struct resource gpmc_cs_mem[GPMC_CS_NUM];
......
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