From d2b5851d8583e690eeb5ac8dfff5da92e1f1468f Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Wed, 4 Mar 2015 18:41:35 +0200 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include +#include + #undef TRACE_SYSTEM #define TRACE_SYSTEM mei -- GitLab