]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
pinctrl: spear: guard sub-directory with CONFIG_PINCTRL_SPEAR
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 24 Nov 2015 11:45:24 +0000 (20:45 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 09:42:02 +0000 (10:42 +0100)
CONFIG_PINCTRL_SPEAR is more suitable than CONFIG_PLAT_SPEAR
to guard the drivers/pinctrl/spear/ directory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile
drivers/pinctrl/spear/Makefile

index cdc4a61a6373870a711e84307faafe082f49a9c4..22a02f3e075695d4f21f6e2d7c2be4a8f7b913b3 100644 (file)
@@ -49,7 +49,7 @@ obj-y                         += nomadik/
 obj-$(CONFIG_ARCH_QCOM)                += qcom/
 obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
 obj-$(CONFIG_PINCTRL_SH_PFC)   += sh-pfc/
-obj-$(CONFIG_PLAT_SPEAR)       += spear/
+obj-$(CONFIG_PINCTRL_SPEAR)    += spear/
 obj-$(CONFIG_ARCH_SUNXI)       += sunxi/
 obj-$(CONFIG_PINCTRL_UNIPHIER) += uniphier/
 obj-$(CONFIG_ARCH_VT8500)      += vt8500/
index 0e400ebeb8ff6d440a9219fae0efa8644bcc6cb6..37b8412ac8a3ce9eb4d0c5ea9b6f8f20fa059f55 100644 (file)
@@ -1,7 +1,7 @@
 # SPEAr pinmux support
 
 obj-$(CONFIG_PINCTRL_SPEAR_PLGPIO)     += pinctrl-plgpio.o
-obj-$(CONFIG_PINCTRL_SPEAR)    += pinctrl-spear.o
+obj-y                          += pinctrl-spear.o
 obj-$(CONFIG_PINCTRL_SPEAR3XX) += pinctrl-spear3xx.o
 obj-$(CONFIG_PINCTRL_SPEAR300) += pinctrl-spear300.o
 obj-$(CONFIG_PINCTRL_SPEAR310) += pinctrl-spear310.o