pinctrl: berlin: guard sub-directory with CONFIG_PINCTRL_BERLIN
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 24 Nov 2015 11:45:22 +0000 (20:45 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 09:39:26 +0000 (10:39 +0100)
CONFIG_PINCTRL_BERLIN is more suitable than CONFIG_ARCH_BERLIN
to guard the drivers/pinctrl/berlin/ directory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile
drivers/pinctrl/berlin/Makefile

index 738cb4929a49428890f543df5eab92976d40dbe7..17c02062508b861528019ebe409d352bb37d8f33 100644 (file)
@@ -41,7 +41,7 @@ obj-$(CONFIG_PINCTRL_ST)      += pinctrl-st.o
 obj-$(CONFIG_PINCTRL_ZYNQ)     += pinctrl-zynq.o
 
 obj-$(CONFIG_ARCH_BCM)         += bcm/
-obj-$(CONFIG_ARCH_BERLIN)      += berlin/
+obj-$(CONFIG_PINCTRL_BERLIN)   += berlin/
 obj-y                          += freescale/
 obj-$(CONFIG_X86)              += intel/
 obj-$(CONFIG_PLAT_ORION)        += mvebu/
index 06f94029ad66715995288cf842b58e14cac573a9..6f641ce2c83093fb1ffed0f88ce055149840b0d3 100644 (file)
@@ -1,4 +1,4 @@
-obj-$(CONFIG_PINCTRL_BERLIN)           += berlin.o
+obj-y                                  += berlin.o
 obj-$(CONFIG_PINCTRL_BERLIN_BG2)       += berlin-bg2.o
 obj-$(CONFIG_PINCTRL_BERLIN_BG2CD)     += berlin-bg2cd.o
 obj-$(CONFIG_PINCTRL_BERLIN_BG2Q)      += berlin-bg2q.o