aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/pfc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sh/pfc/Makefile')
-rw-r--r--drivers/sh/pfc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/sh/pfc/Makefile b/drivers/sh/pfc/Makefile
index ce6fae3..6315cf3 100644
--- a/drivers/sh/pfc/Makefile
+++ b/drivers/sh/pfc/Makefile
@@ -1,3 +1,5 @@
sh-pfc-objs = core.o pinctrl.o
+ifeq ($(CONFIG_GPIO_SH_PFC),y)
+sh-pfc-objs += gpio.o
+endif
obj-y += sh-pfc.o
-obj-$(CONFIG_GPIO_SH_PFC) += gpio.o