Re: [PATCH] mlxsw: switchib: add MLXSW_PCI dependency

2016-11-21 Thread Jiri Pirko
Fri, Nov 18, 2016 at 05:01:14PM CET, a...@arndb.de wrote: >The newly added switchib driver fails to link if MLXSW_PCI=m: > >drivers/net/ethernet/mellanox/mlxsw/mlxsw_switchib.o: In >function^Cmlxsw_sib_module_exit': >switchib.c:(.exit.text+0x8): undefined reference to >`mlxsw_pci_driver_unregiste

Re: [PATCH] mlxsw: switchib: add MLXSW_PCI dependency

2016-11-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 18 Nov 2016 17:01:14 +0100 > The newly added switchib driver fails to link if MLXSW_PCI=m: > > drivers/net/ethernet/mellanox/mlxsw/mlxsw_switchib.o: In > function^Cmlxsw_sib_module_exit': > switchib.c:(.exit.text+0x8): undefined reference to > `mlxsw_pci_driver_u

[PATCH] mlxsw: switchib: add MLXSW_PCI dependency

2016-11-18 Thread Arnd Bergmann
The newly added switchib driver fails to link if MLXSW_PCI=m: drivers/net/ethernet/mellanox/mlxsw/mlxsw_switchib.o: In function^Cmlxsw_sib_module_exit': switchib.c:(.exit.text+0x8): undefined reference to `mlxsw_pci_driver_unregister' switchib.c:(.exit.text+0x10): undefined reference to `mlxsw_