From: Seungwon Jeon Date: Fri, 28 Sep 2012 05:21:59 +0000 (+0900) Subject: mmc: dw_mmc: convert the variable type of irq X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d676188e44680c2f2eb114a24b3b32e56165f079;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git mmc: dw_mmc: convert the variable type of irq Even though platform_get_irq returns error, 'host->irq' always has an unsigned value. Less-than-zero comparison of an unsigned value is never true. Type of 'unsigned int' will be changed for 'int'. Signed-off-by: Seungwon Jeon Acked-by: Will Newton Signed-off-by: Chris Ball --- diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h index 7c6a1139d8fa..31416760723c 100644 --- a/include/linux/mmc/dw_mmc.h +++ b/include/linux/mmc/dw_mmc.h @@ -186,7 +186,7 @@ struct dw_mci { struct regulator *vmmc; /* Power regulator */ unsigned long irq_flags; /* IRQ flags */ - unsigned int irq; + int irq; }; /* DMA ops for Internal/External DMAC interface */