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: db8bcaad53 ("net: lan966x: add the basic lan966x driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Horatiu Vultur 2021-12-02 09:15:11 +01:00 committed by David S. Miller
parent a72d45e646
commit cc9cf69eea

View file

@ -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.