Skip to content

Commit ab6cd6b

Browse files
dangowrtAngeloGioacchino Del Regno
authored andcommitted
soc: mediatek: mtk-socinfo: depends on CONFIG_SOC_BUS
The mtk-socinfo driver uses symbols 'soc_device_register' and 'soc_device_unregister' which are part of the bus driver for System-on-Chip devices. Select SOC_BUS to make sure that driver is built and the symbols are available. Fixes: 423a54d ("soc: mediatek: mtk-socinfo: Add driver for getting chip information") Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/cc8f7f7da5bdccce514a320e0ae7468659cf7346.1707327680.git.daniel@makrotopia.org Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
1 parent 7ca803b commit ab6cd6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soc/mediatek/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ config MTK_SOCINFO
7272
tristate "MediaTek SoC Information"
7373
default y
7474
depends on NVMEM_MTK_EFUSE
75+
select SOC_BUS
7576
help
7677
The MediaTek SoC Information (mtk-socinfo) driver provides
7778
information about the SoC to the userspace including the

0 commit comments

Comments
 (0)