]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/amdxdna: Add include interrupt.h to amdxdna_mailbox.c
authorMike Lothian <mike@fireburn.co.uk>
Fri, 13 Dec 2024 16:38:56 +0000 (08:38 -0800)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 13 Dec 2024 17:02:36 +0000 (10:02 -0700)
commitd408916885ca59293064476e7bdeeda73d033f33
treebadacf16bfe3b41ee62a2e418ae6579244f180d6
parentc1e9a0ff94b801e946f30c4aba29df247475d825
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 <mike@fireburn.co.uk>
Closes: https://lore.kernel.org/dri-devel/CAHbf0-E+Z2O7rW-x+-EKNQ-nLbf=_ohaNzXxE7WD2cj9kFJERQ@mail.gmail.com/
Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241213163856.1472207-1-lizhi.hou@amd.com
drivers/accel/amdxdna/amdxdna_mailbox.c