aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-03-04 11:41:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-04 11:54:29 -0500
commitd2b5851d8583e690eeb5ac8dfff5da92e1f1468f (patch)
tree3a9e26db86065989ce2162152436dc24599c4c32 /drivers/misc
parentb43baf694fde30dc2db2386c347324d1a013f3d1 (diff)
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 @@
21#include <linux/types.h> 21#include <linux/types.h>
22#include <linux/tracepoint.h> 22#include <linux/tracepoint.h>
23 23
24#include <linux/device.h>
25
24#undef TRACE_SYSTEM 26#undef TRACE_SYSTEM
25 27
26#define TRACE_SYSTEM mei 28#define TRACE_SYSTEM mei