summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2020-09-29 17:11:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-02 15:57:29 +0200
commit8c56adc511afd1a4355f5209b8dc11a80ec32b63 (patch)
treeddd41de4bde67b72d245fe212e931dbfad2aa941
parentc9723750a699c3bd465493ac2be8992b72ccb105 (diff)
downloadlinux-8c56adc511afd1a4355f5209b8dc11a80ec32b63.tar.bz2
misc: vop: build VOP based on CONFIG_VOP
Build module or builtin VOP based on CONFIG_VOP macro. Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Link: https://lore.kernel.org/r/20200929091106.24624-3-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/mic/vop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mic/vop/Makefile b/drivers/misc/mic/vop/Makefile
index 579da3868c8e..51b9b0022786 100644
--- a/drivers/misc/mic/vop/Makefile
+++ b/drivers/misc/mic/vop/Makefile
@@ -3,7 +3,7 @@
# Makefile - Intel MIC Linux driver.
# Copyright(c) 2016, Intel Corporation.
#
-obj-m := vop.o
+obj-$(CONFIG_VOP) := vop.o
vop-objs += vop_main.o
vop-objs += vop_debugfs.o