[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1425487295-15896-2-git-send-email-tomas.winkler@intel.com>
Date: Wed, 4 Mar 2015 18:41:35 +0200
From: Tomas Winkler <tomas.winkler@...el.com>
To: gregkh@...uxfoundation.org
Cc: arnd@...db.de, linux-kernel@...r.kernel.org,
Tomas Winkler <tomas.winkler@...el.com>
Subject: [char-misc-next 2/2] 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@...el.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists