]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: thead: add CONFIG_MAILBOX dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 14 Mar 2025 15:48:13 +0000 (16:48 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Mar 2025 12:13:03 +0000 (13:13 +0100)
commit51f0b8911ec4355cea07b180f6569cc52f65aaa8
tree46425db7fec16ddf483efa4a00931b183dd8c3de
parentae85dabcef32a4cb841ec30792edbebb965345b2
firmware: thead: add CONFIG_MAILBOX dependency

Without this, the driver fails to build:

ld: drivers/firmware/thead,th1520-aon.o: in function `th1520_aon_call_rpc':
thead,th1520-aon.c:(.text+0x28): undefined reference to `mbox_send_message'
ld: drivers/firmware/thead,th1520-aon.o: in function `th1520_aon_deinit':
thead,th1520-aon.c:(.text+0x17e): undefined reference to `mbox_free_channel'
ld: drivers/firmware/thead,th1520-aon.o: in function `th1520_aon_init':
thead,th1520-aon.c:(.text+0x1d9): undefined reference to `mbox_request_channel_byname'

Fixes: e4b3cbd840e5 ("firmware: thead: Add AON firmware protocol driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Michal Wilczynski <m.wilczynski@samsung.com>
Link: https://lore.kernel.org/r/20250314154816.4045334-1-arnd@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/firmware/Kconfig