]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: S3C64XX: Fix build error with CONFIG_S3C_DEV_FB disabled
authorTomasz Figa <tomasz.figa@gmail.com>
Thu, 10 Jan 2013 01:13:23 +0000 (17:13 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 16 Jan 2013 23:45:52 +0000 (15:45 -0800)
commit1b56424597e9df7eb8a5da316d7bbbdc6cb269b1
tree0c6082dccd2c2f15a560aa75a92fcc679e0df7e1
parent8a951b0447260880e42a062699d73808167b7fdf
ARM: S3C64XX: Fix build error with CONFIG_S3C_DEV_FB disabled

If there is no board selecting CONFIG_S3C_DEV_FB enabled, build will
fail on arch/arm/mach-s3c64xx/pm.c, where s3c_device_fb is referenced.

This patch adds ifdef guard around the code making it compile only
when CONFIG_S3C_DEV_FB is enabled.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/pm.c