powercap: restrict energy meter to root access
[linux/fpc-iii.git] / drivers / misc / cxl / Makefile
blob56e9a4732ef09b8c62ab80150cd7dab3ad7d4f64
1 ccflags-y := $(call cc-disable-warning, unused-const-variable)
2 ccflags-$(CONFIG_PPC_WERROR) += -Werror
4 cxl-y += main.o file.o irq.o fault.o native.o
5 cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
6 cxl-y += vphb.o phb.o api.o
7 cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o
8 obj-$(CONFIG_CXL) += cxl.o
9 obj-$(CONFIG_CXL_BASE) += base.o
11 # For tracepoints to include our trace.h from tracepoint infrastructure:
12 CFLAGS_trace.o := -I$(src)