summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-03-04 17:41:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-04 17:54:29 +0100
commitd2b5851d8583e690eeb5ac8dfff5da92e1f1468f (patch)
tree3a9e26db86065989ce2162152436dc24599c4c32 /drivers/misc
parentmei: free me client references on host init (diff)
downloadlinux-d2b5851d8583e690eeb5ac8dfff5da92e1f1468f.tar.xz
linux-d2b5851d8583e690eeb5ac8dfff5da92e1f1468f.zip
mei: trace: fix missing include to linux/device.h
Fix warning (discovered using randconfig) drivers/misc/mei/mei-trace.h:30:24: warning: 'struct device' declared inside parameter list TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val), Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mei/mei-trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/mei-trace.h b/drivers/misc/mei/mei-trace.h
index d5c38d15cdd9..5f4e1a17360b 100644
--- a/drivers/misc/mei/mei-trace.h
+++ b/drivers/misc/mei/mei-trace.h
@@ -21,6 +21,8 @@
#include <linux/types.h>
#include <linux/tracepoint.h>
+#include <linux/device.h>
+
#undef TRACE_SYSTEM
#define TRACE_SYSTEM mei