summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/regmap/Makefile')
-rw-r--r--drivers/base/regmap/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/regmap/Makefile b/drivers/base/regmap/Makefile
index 0a533653ef3b..609e4c84f485 100644
--- a/drivers/base/regmap/Makefile
+++ b/drivers/base/regmap/Makefile
@@ -1,3 +1,6 @@
+# For include/trace/define_trace.h to include trace.h
+CFLAGS_regmap.o := -I$(src)
+
obj-$(CONFIG_REGMAP) += regmap.o regcache.o
obj-$(CONFIG_REGMAP) += regcache-rbtree.o regcache-lzo.o regcache-flat.o
obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o
OpenPOWER on IntegriCloud