summaryrefslogtreecommitdiff
path: root/net/switchdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/switchdev/Makefile')
-rw-r--r--net/switchdev/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/switchdev/Makefile b/net/switchdev/Makefile
index 5ed63ed324d0..c5561d7f3a7c 100644
--- a/net/switchdev/Makefile
+++ b/net/switchdev/Makefile
@@ -1,5 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for the Switch device API
#
-obj-$(CONFIG_NET_SWITCHDEV) += switchdev.o
+obj-y += switchdev.o