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:
committed by
David S. Miller
parent
a72d45e646
commit
cc9cf69eea
@ -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.
|
||||||
|
Reference in New Issue
Block a user