summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-03-04 19:41:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-04 19:54:29 +0300
commitd2b5851d8583e690eeb5ac8dfff5da92e1f1468f (patch)
tree3a9e26db86065989ce2162152436dc24599c4c32 /drivers/misc
parentb43baf694fde30dc2db2386c347324d1a013f3d1 (diff)
downloadlinux-d2b5851d8583e690eeb5ac8dfff5da92e1f1468f.tar.xz
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