]> 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)
commit3ef54af4517e91cc675c9bd766994c46e699a703
tree6b2f9944a755da862ea2d8a5a31f31f40606b083
parentc87729ff7b78c1202b9d2f51e26f015d45c50231
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: ec4bd430fec2 ("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