]> Gentwo Git Trees - linux/.git/commit
pmdomain: mediatek: mtk-mfg: select MAILBOX in Kconfig
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Thu, 30 Oct 2025 13:17:10 +0000 (14:17 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 19 Nov 2025 17:06:50 +0000 (18:06 +0100)
commitb0671a5fd3201efc5dd38254f1917cbbd805936c
tree1745e3fbd4bc406e5eeaea2fd1830a1b9ef0ce3c
parentf08e7a4e8d6ac4de677727af352ea33c6ce9f444
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510301311.TcOCnZ1s-lkp@intel.com/
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/mediatek/Kconfig