From cc9cf69eea4847c8d6db6114b0e094fb51736c33 Mon Sep 17 00:00:00 2001 From: Horatiu Vultur Date: Thu, 2 Dec 2021 09:15:11 +0100 Subject: [PATCH] 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 Signed-off-by: Horatiu Vultur Signed-off-by: David S. Miller --- drivers/net/ethernet/microchip/lan966x/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/microchip/lan966x/Kconfig b/drivers/net/ethernet/microchip/lan966x/Kconfig index 83ac426..2860a8c 100644 --- a/drivers/net/ethernet/microchip/lan966x/Kconfig +++ b/drivers/net/ethernet/microchip/lan966x/Kconfig @@ -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. -- 2.7.4