net: lan966x: Fix builds for lan966x driver
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 2 Dec 2021 08:15:11 +0000 (09:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 12:24:08 +0000 (12:24 +0000)
commitcc9cf69eea4847c8d6db6114b0e094fb51736c33
treee3b93e332dc58b0c07465f67e88e339e20d8756f
parenta72d45e646547d4ec59ee16f122c2764eb36bf05
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: db8bcaad539314 ("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>
drivers/net/ethernet/microchip/lan966x/Kconfig