Skip to content

Commit

Permalink
pinctrl/samsung: don't allow enabling pinctrl-samsung standalone
Browse files Browse the repository at this point in the history
The main samsung pinctrl module references the specific exynos4210
pinctrl driver, which selects the main driver in Kconfig.

Making the main driver a silent "bool" option avoid this potential
build error if CONFIG_PINCTRL_SAMSUNG=y && CONFIG_PINCTRL_EXYNOS4=n:

drivers/built-in.o:(.rodata+0x4e4): undefined reference to `exynos4210_pin_ctrl'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Arnd Bergmann authored and Linus Walleij committed Nov 15, 2012
1 parent 77b6706 commit cbc351a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ config PINCTRL_COH901
ports of 8 GPIO pins each.

config PINCTRL_SAMSUNG
bool "Samsung pinctrl driver"
bool
depends on OF && GPIOLIB
select PINMUX
select PINCONF
Expand Down

0 comments on commit cbc351a

Please sign in to comment.