summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qualcomm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/qualcomm/Makefile')
-rw-r--r--drivers/net/ethernet/qualcomm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qualcomm/Makefile b/drivers/net/ethernet/qualcomm/Makefile
index 5e17bf116e75..65556ca185a6 100644
--- a/drivers/net/ethernet/qualcomm/Makefile
+++ b/drivers/net/ethernet/qualcomm/Makefile
@@ -2,7 +2,8 @@
# Makefile for the Qualcomm network device drivers.
#
-obj-$(CONFIG_QCA7000) += qcaspi.o
-qcaspi-objs := qca_spi.o qca_7k_common.o qca_7k.o qca_debug.o
+obj-$(CONFIG_QCA7000) += qca_7k_common.o
+obj-$(CONFIG_QCA7000_SPI) += qcaspi.o
+qcaspi-objs := qca_7k.o qca_debug.o qca_spi.o
obj-y += emac/