diff mbox series

net: ethernet: mtk-star-emac: select REGMAP_MMIO

Message ID 20201020073515.22769-1-brgl@bgdev.pl (mailing list archive)
State Not Applicable
Delegated to: Netdev Maintainers
Headers show
Series net: ethernet: mtk-star-emac: select REGMAP_MMIO | expand

Commit Message

Bartosz Golaszewski Oct. 20, 2020, 7:35 a.m. UTC
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

The driver depends on mmio regmap API but doesn't select the appropriate
Kconfig option. This fixes it.

Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 drivers/net/ethernet/mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski Oct. 22, 2020, 1:13 a.m. UTC | #1
On Tue, 20 Oct 2020 09:35:15 +0200 Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> 
> The driver depends on mmio regmap API but doesn't select the appropriate
> Kconfig option. This fixes it.
> 
> Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver")
> Cc: <stable@vger.kernel.org>

No need, we queue all fixes from the networking tree to stable, anyway.

> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/mediatek/Kconfig b/drivers/net/ethernet/mediatek/Kconfig
index 62a820b1eb16..3362b148de23 100644
--- a/drivers/net/ethernet/mediatek/Kconfig
+++ b/drivers/net/ethernet/mediatek/Kconfig
@@ -17,6 +17,7 @@  config NET_MEDIATEK_SOC
 config NET_MEDIATEK_STAR_EMAC
 	tristate "MediaTek STAR Ethernet MAC support"
 	select PHYLIB
+	select REGMAP_MMIO
 	help
 	  This driver supports the ethernet MAC IP first used on
 	  MediaTek MT85** SoCs.