]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: mscc-miim: Add depend of REGMAP_MMIO on MDIO_MSCC_MIIM
authorTianchen Ding <dtcccc@linux.alibaba.com>
Tue, 30 Nov 2021 11:02:09 +0000 (19:02 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Dec 2021 02:46:54 +0000 (18:46 -0800)
commit70cfbbcd57d0426d2315ed9e4eecb1c233f432b8
tree6b2f9944a755da862ea2d8a5a31f31f40606b083
parentf4e60d44c55c3f0feeb4b49e563d368dbeb588b6
net: mdio: mscc-miim: Add depend of REGMAP_MMIO on MDIO_MSCC_MIIM

There's build error while CONFIG_REGMAP_MMIO is not set
and CONFIG_MDIO_MSCC_MIIM=m.

ERROR: modpost: "__devm_regmap_init_mmio_clk"
[drivers/net/mdio/mdio-mscc-miim.ko] undefined!

Add the depend of REGMAP_MMIO to fix it.

Fixes: 05e5b233222d ("net: mdio: mscc-miim: convert to a regmap implementation")
Signed-off-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20211130110209.804536-1-dtcccc@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mdio/Kconfig