From 2e9d4698465b0fb2d7f61857a76eeacddd948712 Mon Sep 17 00:00:00 2001 From: Todd Kjos Date: Wed, 2 Sep 2020 17:08:21 -0700 Subject: [PATCH] ANDROID: fix i386 build break Fix declaration issue found by 0-day bot. Fixes: ab2d60d90125 ("ANDROID: vendor_hooks: Add vendor hooks for key combination") Reported-by: kernel test robot Signed-off-by: Todd Kjos Change-Id: I2728fc009489a764b617e6c87ac52db37f6ce016 --- include/trace/hooks/debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/trace/hooks/debug.h b/include/trace/hooks/debug.h index c3bec3258c8c..d3127643ece8 100644 --- a/include/trace/hooks/debug.h +++ b/include/trace/hooks/debug.h @@ -12,10 +12,12 @@ #if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS) +struct pt_regs; DECLARE_HOOK(android_vh_ipi_stop, TP_PROTO(struct pt_regs *regs), TP_ARGS(regs)) +struct input_dev; DECLARE_HOOK(android_vh_input_handle_event, TP_PROTO(struct input_dev *dev, unsigned int type, unsigned int code, int value),