From: Mike Lothian Date: Fri, 13 Dec 2024 16:38:56 +0000 (-0800) Subject: accel/amdxdna: Add include interrupt.h to amdxdna_mailbox.c X-Git-Tag: v6.14-rc1~174^2~13^2~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d408916885ca59293064476e7bdeeda73d033f33;p=thirdparty%2Fkernel%2Flinux.git accel/amdxdna: Add include interrupt.h to amdxdna_mailbox.c For amdxdna_mailbox.c, linux/interrupt.h is indirectly included by trace/events/amdxdna.h. So if TRACING is disabled, driver compiling will fail. Fixes: b87f920b9344 ("accel/amdxdna: Support hardware mailbox") Reported-by: Mike Lothian Closes: https://lore.kernel.org/dri-devel/CAHbf0-E+Z2O7rW-x+-EKNQ-nLbf=_ohaNzXxE7WD2cj9kFJERQ@mail.gmail.com/ Signed-off-by: Mike Lothian Reviewed-by: Mario Limonciello Reviewed-by: Jeffrey Hugo Signed-off-by: Lizhi Hou Signed-off-by: Jeffrey Hugo Link: https://patchwork.freedesktop.org/patch/msgid/20241213163856.1472207-1-lizhi.hou@amd.com --- diff --git a/drivers/accel/amdxdna/amdxdna_mailbox.c b/drivers/accel/amdxdna/amdxdna_mailbox.c index eab79dbb8b251..378d985222cd5 100644 --- a/drivers/accel/amdxdna/amdxdna_mailbox.c +++ b/drivers/accel/amdxdna/amdxdna_mailbox.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #define CREATE_TRACE_POINTS