gpio/samsung: Move SoC specific codes within macro
authorTushar Behera <tushar.behera@linaro.org>
Tue, 4 Oct 2011 23:55:49 +0000 (08:55 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 12 Oct 2011 12:20:13 +0000 (21:20 +0900)
commitc034b184597d93ad7749aca3e8bd1c2105104f07
tree2e8678e74eada9690eb882b7a6cad7f85f4f483d
parentb82cee243633fbb734de704e38f57c771d7afd73
gpio/samsung: Move SoC specific codes within macro

In drivers/gpio/gpio-samsung.c, there are certain structures
and functions which are not getting used if the particular
CPU is not selected. These code segments are moved under CPU
specific macros to remove compilation warnings.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/gpio/gpio-samsung.c