gpio: samsung: fixes build warning with s3c2410_defconfig
authorKukjin Kim <kgene.kim@samsung.com>
Wed, 13 Feb 2013 05:01:38 +0000 (21:01 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 5 Mar 2013 11:21:36 +0000 (20:21 +0900)
commitd97fedef912832611b668fa7ece8e8ff54a6a590
treee5bce68a06b12c01528ae0781049f3debc555bba
parent1c8408e3137bcb78d9ab8af832111f455d11e99c
gpio: samsung: fixes build warning with s3c2410_defconfig

commit 7b45ed96 ("ARM: S3C24XX: handle s3c2412 eints using new
infrastructure") introduced build warning and this patch fixes
that:

drivers/gpio/gpio-samsung.c: In function 's3c24xx_gpiolib_fbank_to_irq':
drivers/gpio/gpio-samsung.c:1126:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/gpio/gpio-samsung.c