aboutsummaryrefslogtreecommitdiff
path: root/include/linux/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/trace.h')
-rw-r--r--include/linux/trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/trace.h b/include/linux/trace.h
index 9330a58e2651..b95ffb2188ab 100644
--- a/include/linux/trace.h
+++ b/include/linux/trace.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_TRACE_H
#define _LINUX_TRACE_H
@@ -17,7 +18,7 @@
*/
struct trace_export {
struct trace_export __rcu *next;
- void (*write)(const void *, unsigned int);
+ void (*write)(struct trace_export *, const void *, unsigned int);
};
int register_ftrace_export(struct trace_export *export);