ethoc: fix library build errors
Subsystems (2)
PATCH 1/1 ethoc: fix library build errors
From: Randy Dunlap <[email protected]>
ethoc indirectly uses crc32_le() and bitrev32(), so select those library functions to be built.
drivers/built-in.o: In function `ethoc_set_multicast_list':
ethoc.c:(.text+0x6226f): undefined reference to crc32_le' ethoc.c:(.text+0x62276): undefined reference to bitrev32'
Signed-off-by Randy Dunlap <[email protected]>
cc Thierry Reding <[email protected]>
--- drivers/net/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/Kconfig +2 -0
@@ -977,6 +977,8 @@ config ETHOC depends on NET_ETHERNET && HAS_IOMEM select MII select PHYLIB + select CRC32 + select BITREVERSE help Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC.
From: Randy Dunlap <[email protected]>
Date: Wed, 8 Apr 2009 10:00:39 -0700
Quoted 8 lines
ethoc indirectly uses
crc32_le()andbitrev32(), so select those library functions to be built.
drivers/built-in.o: In function `ethoc_set_multicast_list':
ethoc.c:(.text+0x6226f): undefined reference tocrc32_le' ethoc.c:(.text+0x62276): undefined reference tobitrev32'Signed-off-by Randy Dunlap <[email protected]>
Applied, thanks.