]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: S5P[v210|c100|64x0]: Fix build error
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 15 Jan 2014 09:01:29 +0000 (14:31 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2014 12:48:06 +0000 (13:48 +0100)
commitddf6c7e44b44dfb1a9da794448b4001a163d4992
tree3b883a9345ce35bc06349f39750ea89bd7e76852
parent5f5b71c9f02e633d5e1d483da3dcad43712a542f
ARM: S5P[v210|c100|64x0]: Fix build error

gpio-samsung.h header file introduced by commit 93177be0910c
("ARM: S3C[24|64]xx: move includes back under <mach/> scope")
is required only by S3C[24|64]xx machines. Include them conditionally
to avoid the following build errors for other machine configurations.
drivers/gpio/gpio-samsung.c:35:31: fatal error: mach/gpio-samsung.h: No such file or directory
arch/arm/plat-samsung/pm-gpio.c:22:31: fatal error: mach/gpio-samsung.h: No such file or directory

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-samsung/pm-gpio.c
drivers/gpio/gpio-samsung.c