Commit cc9cf69e authored by Horatiu Vultur's avatar Horatiu Vultur Committed by David S. Miller
Browse files

net: lan966x: Fix builds for lan966x driver



The lan966x is using the function 'packing' to create/extract the
information for the IFH, that is used to be added in front of the frames
when they are injected/extracted.
Therefore update the Kconfig to select config option 'PACKING' whenever
lan966x driver is enabled.

Fixes: db8bcaad ("net: lan966x: add the basic lan966x driver")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a72d45e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,5 +3,6 @@ config LAN966X_SWITCH
	depends on HAS_IOMEM
	depends on OF
	select PHYLINK
	select PACKING
	help
	  This driver supports the Lan966x network switch device.