mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 17:53:56 +08:00
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: a27a762828
("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>
This commit is contained in:
parent
699e53e4fa
commit
8057cbb833
@ -141,7 +141,7 @@ config MDIO_MVUSB
|
|||||||
|
|
||||||
config MDIO_MSCC_MIIM
|
config MDIO_MSCC_MIIM
|
||||||
tristate "Microsemi MIIM interface support"
|
tristate "Microsemi MIIM interface support"
|
||||||
depends on HAS_IOMEM
|
depends on HAS_IOMEM && REGMAP_MMIO
|
||||||
select MDIO_DEVRES
|
select MDIO_DEVRES
|
||||||
help
|
help
|
||||||
This driver supports the MIIM (MDIO) interface found in the network
|
This driver supports the MIIM (MDIO) interface found in the network
|
||||||
|
Loading…
Reference in New Issue
Block a user