summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rapidio/Makefile')
-rw-r--r--drivers/rapidio/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rapidio/Makefile b/drivers/rapidio/Makefile
index ec3fb81..3036702 100644
--- a/drivers/rapidio/Makefile
+++ b/drivers/rapidio/Makefile
@@ -1,7 +1,8 @@
#
# Makefile for RapidIO interconnect services
#
-obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o
+obj-y += rio.o rio-access.o rio-driver.o rio-sysfs.o
+obj-$(CONFIG_RAPIDIO_ENUM_BASIC) += rio-scan.o
obj-$(CONFIG_RAPIDIO) += switches/
obj-$(CONFIG_RAPIDIO) += devices/
OpenPOWER on IntegriCloud