]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit311373c634f552c597e9e991bea8fa4e108f09a0
treee3b93e332dc58b0c07465f67e88e339e20d8756f
parenta2049aab0aa7c1a2fce8648e4ca65982c188855f
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: 74253577d2c1ba ("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