Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ba8a9b4 authored by Carmelo AMOROSO's avatar Carmelo AMOROSO Committed by David S. Miller
Browse files

stmmac: fix kconfig for crc32 build error



stmmac uses crc32 functions so it needs to select CRC32.

Fixes build error:
drivers/built-in.o: In function `dwmac1000_set_filter':
dwmac1000_core.c:(.text+0x3c380): undefined reference to `crc32_le'
dwmac1000_core.c:(.text+0x3c384): undefined reference to `bitrev32'

Signed-off-by: default avatarCarmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9cae9e4f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2,6 +2,7 @@ config STMMAC_ETH
	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
	select MII
	select MII
	select PHYLIB
	select PHYLIB
	select CRC32
	depends on NETDEVICES && CPU_SUBTYPE_ST40
	depends on NETDEVICES && CPU_SUBTYPE_ST40
	help
	help
	  This is the driver for the Ethernet IPs are built around a
	  This is the driver for the Ethernet IPs are built around a