summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2015-03-19 17:50:47 -0400
committerMark Brown <broonie@kernel.org>2015-03-19 22:22:45 +0000
commitf58078dacaaf6fbe664d5404dca7f76dce576113 (patch)
treee9f1f07946e001af46f5a38c48f86f24beb391cd /drivers/base/regmap/Makefile
parentc6b570d97c0e77f570bb6b2ed30d372b2b1e9aae (diff)
downloadlinux-f58078dacaaf6fbe664d5404dca7f76dce576113.tar.bz2
regmap: Move tracing header into drivers/base/regmap
The tracing events for regmap are confined to the regmap subsystem. It also requires accessing an internal header. Instead of including the internal header from a generic file location, move the tracing file into the regmap directory. Also rename the regmap tracing header to trace.h, as it is redundant to keep the regmap.h name when it is in the regmap directory. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Mark Brown <broonie@kernel.org>
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