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

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
...@@ -3,5 +3,6 @@ config LAN966X_SWITCH ...@@ -3,5 +3,6 @@ config LAN966X_SWITCH
depends on HAS_IOMEM depends on HAS_IOMEM
depends on OF depends on OF
select PHYLINK select PHYLINK
select PACKING
help help
This driver supports the Lan966x network switch device. This driver supports the Lan966x network switch device.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment