]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: S3C64XX: Fix build break in PM debug
authorAbhilash Kesavan <a.kesavan@samsung.com>
Sat, 13 Aug 2011 01:40:52 +0000 (10:40 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 18 Aug 2011 04:08:11 +0000 (13:08 +0900)
commit570c3d62696896275fb7aa6b4c80c955b93a136b
tree8811e1816efbf3202df6c4ca2cc01be4e31924cc
parent95c9b76d66aef1dfe0b5fc8eb22cbe943310f4f5
ARM: S3C64XX: Fix build break in PM debug

When S3C_PM_DEBUG_LED_SMDK is enabled for suspend/resume debugging, the following
compilation error occurs:

arch/arm/mach-s3c64xx/pm.c: In function 's3c_pm_debug_smdkled':
arch/arm/mach-s3c64xx/pm.c:41: error: implicit declaration of function 'gpio_set_value'
arch/arm/mach-s3c64xx/pm.c:41: error: implicit declaration of function 'S3C64XX_GPN'
arch/arm/mach-s3c64xx/pm.c: In function 's3c64xx_pm_init':
arch/arm/mach-s3c64xx/pm.c:184: error: implicit declaration of function 'gpio_request'
arch/arm/mach-s3c64xx/pm.c:188: error: implicit declaration of function 'gpio_direction_output'

Fix the error by including linux/gpio.h

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/pm.c