From b0671a5fd3201efc5dd38254f1917cbbd805936c Mon Sep 17 00:00:00 2001 From: Nicolas Frattaroli Date: Thu, 30 Oct 2025 14:17:10 +0100 Subject: [PATCH] pmdomain: mediatek: mtk-mfg: select MAILBOX in Kconfig The mtk-mfg pmdomain driver calls common mailbox framework functions. If the common mailbox framework is not selected in the kernel's configuration, the build runs into a linker error, as the symbols are absent. The hardware mailbox Kconfig system, MAILBOX, has no dependencies of its own. It's therefore safe to "select" it rather than use "depend on". Declare this "select" dependency in the Kconfig for the driver. Fixes: 1ff1f0db6aec ("pmdomain: mediatek: Add support for MFlexGraphics") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202510301311.TcOCnZ1s-lkp@intel.com/ Signed-off-by: Nicolas Frattaroli Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Ulf Hansson --- drivers/pmdomain/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pmdomain/mediatek/Kconfig b/drivers/pmdomain/mediatek/Kconfig index b06aaa9690f08..8923e6516441c 100644 --- a/drivers/pmdomain/mediatek/Kconfig +++ b/drivers/pmdomain/mediatek/Kconfig @@ -32,6 +32,7 @@ config MTK_MFG_PM_DOMAIN depends on PM depends on OF depends on COMMON_CLK + select MAILBOX select PM_GENERIC_DOMAINS imply MTK_GPUEB_MBOX help -- 2.47.3