summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunxi/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-24 00:32:09 +0900
committerLinus Walleij <linus.walleij@linaro.org>2016-01-28 14:25:50 +0100
commit3a42a042f5cbefa925484a9bc4abd1bfeec5d779 (patch)
tree09cdcb5729bafcf3820f422cc10a8f1759afffcf /drivers/pinctrl/sunxi/Makefile
parent411a1fb80fb6d7cf50b8ff3811d25dbf262d6328 (diff)
pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI
CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI to guard the drivers/pinctrl/sunxi/ directory. (I renamed CONFIG_PINCTRL_SUNXI_COMMON to CONFIG_PINCTRL_SUNXI.) Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/Makefile')
-rw-r--r--drivers/pinctrl/sunxi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunxi/Makefile b/drivers/pinctrl/sunxi/Makefile
index ef82f22bb9ef..dac1bd0cda4a 100644
--- a/drivers/pinctrl/sunxi/Makefile
+++ b/drivers/pinctrl/sunxi/Makefile
@@ -1,5 +1,5 @@
# Core
-obj-$(CONFIG_PINCTRL_SUNXI_COMMON) += pinctrl-sunxi.o
+obj-y += pinctrl-sunxi.o
# SoC Drivers
obj-$(CONFIG_PINCTRL_SUN4I_A10) += pinctrl-sun4i-a10.o