[char-misc-next 2/2] mei: trace: fix missing include to linux/device.h

From: Tomas Winkler
Date: Wed Mar 04 2015 - 11:42:45 EST


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@xxxxxxxxx>
---
drivers/misc/mei/mei-trace.h | 2 ++
1 file changed, 2 insertions(+)

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
--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/