]> 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)
commite858de14fb6ea6d7efb8dda23b6553289b0cbd82
treee3b93e332dc58b0c07465f67e88e339e20d8756f
parent0b1246fa4ae2997f610fa7caf2fae361cf00a5b5
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: 972d3be0c01350 ("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