summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/cxl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/cxl/Makefile')
-rw-r--r--kernel/drivers/misc/cxl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/misc/cxl/Makefile b/kernel/drivers/misc/cxl/Makefile
index 6982f603f..ab6f392d3 100644
--- a/kernel/drivers/misc/cxl/Makefile
+++ b/kernel/drivers/misc/cxl/Makefile
@@ -1,4 +1,4 @@
-ccflags-y := -Werror -Wno-unused-const-variable
+ccflags-y := -Werror $(call cc-disable-warning, unused-const-variable)
cxl-y += main.o file.o irq.o fault.o native.o
cxl-y += context.o sysfs.o debugfs.o pci.o trace.o