aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/Makefile
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2017-02-01 14:22:07 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-03 21:59:26 +1100
commit39d40871526627fd0e2cfc1e2fb88500a5049c4c (patch)
tree0debe76f1f3c0d08b6b34df19b466cf625e69f99 /drivers/misc/cxl/Makefile
parentpowerpc/pseries: Report DLPAR capabilities (diff)
downloadlinux-dev-39d40871526627fd0e2cfc1e2fb88500a5049c4c.tar.xz
linux-dev-39d40871526627fd0e2cfc1e2fb88500a5049c4c.zip
cxl: Fix build when CONFIG_DEBUG_FS=n
Stub out the debugfs functions so that the build doesn't break when CONFIG_DEBUG_FS=n. Reported-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl/Makefile')
-rw-r--r--drivers/misc/cxl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/cxl/Makefile b/drivers/misc/cxl/Makefile
index 56e9a4732ef0..c14fd6b65b5a 100644
--- a/drivers/misc/cxl/Makefile
+++ b/drivers/misc/cxl/Makefile
@@ -2,9 +2,10 @@ ccflags-y := $(call cc-disable-warning, unused-const-variable)
ccflags-$(CONFIG_PPC_WERROR) += -Werror
cxl-y += main.o file.o irq.o fault.o native.o
-cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
+cxl-y += context.o sysfs.o pci.o trace.o
cxl-y += vphb.o phb.o api.o
cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o
+cxl-$(CONFIG_DEBUG_FS) += debugfs.o
obj-$(CONFIG_CXL) += cxl.o
obj-$(CONFIG_CXL_BASE) += base.o