Skip to content

Commit

Permalink
gpio/samsung: make Kconfig options def_bool
Browse files Browse the repository at this point in the history
The Samsung GPIO drivers are always built-in when the relevant
platform is selected.  Change the Kconfig symbol to def_bool y
dependant on the platform.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
H Hartley Sweeten authored and Grant Likely committed Jun 7, 2011
1 parent 0bf8fa0 commit 32919a2
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,32 +87,20 @@ config GPIO_IT8761E
Say yes here to support GPIO functionality of IT8761E super I/O chip.

config GPIO_EXYNOS4
bool "Samsung Exynos4 GPIO library support"
default y
depends on ARM && CPU_EXYNOS4210
help
Say yes here to support Samsung Exynos4 series SoCs GPIO library
def_bool y
depends on CPU_EXYNOS4210

config GPIO_PLAT_SAMSUNG
bool "Samsung SoCs GPIO library support"
default y
depends on ARM && SAMSUNG_GPIOLIB_4BIT
help
Say yes here to support Samsung SoCs GPIO library
def_bool y
depends on SAMSUNG_GPIOLIB_4BIT

config GPIO_S5PC100
bool "Samsung S5PC100 GPIO library support"
default y
depends on ARM && CPU_S5PC100
help
Say yes here to support Samsung S5PC100 SoCs GPIO library
def_bool y
depends on CPU_S5PC100

config GPIO_S5PV210
bool "Samsung S5PV210/S5PC110 GPIO library support"
default y
depends on ARM && CPU_S5PV210
help
Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library
def_bool y
depends on CPU_S5PV210

config GPIO_PL061
bool "PrimeCell PL061 GPIO support"
Expand Down

0 comments on commit 32919a2

Please sign in to comment.