mei: trace: fix missing include to linux/device.h
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 4 Mar 2015 16:41:35 +0000 (18:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Mar 2015 16:54:29 +0000 (08:54 -0800)
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>
drivers/misc/mei/mei-trace.h

index d5c38d15cdd98f75ae55f2805483ceaeeb2e3163..5f4e1a17360bfd27c1be96a2fa9a43b644b34e64 100644 (file)
@@ -21,6 +21,8 @@
 #include <linux/types.h>
 #include <linux/tracepoint.h>
 
+#include <linux/device.h>
+
 #undef TRACE_SYSTEM
 
 #define TRACE_SYSTEM mei