mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 22:19:17 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b43baf694f
commit
d2b5851d85
@@ -21,6 +21,8 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/tracepoint.h>
|
||||
|
||||
#include <linux/device.h>
|
||||
|
||||
#undef TRACE_SYSTEM
|
||||
|
||||
#define TRACE_SYSTEM mei
|
||||
|
||||
Reference in New Issue
Block a user