IB/mlx4: Add dependency INET
authorMatan Barak <matanb@mellanox.com>
Thu, 16 Jan 2014 15:16:48 +0000 (17:16 +0200)
committerRoland Dreier <roland@purestorage.com>
Sun, 19 Jan 2014 23:14:05 +0000 (15:14 -0800)
Since mlx4_ib supports IP based addressing, a dependency on INET needs
to be added, since mlx4_ib registers itself for net device events.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/Kconfig

index 24ab11a..fc01dea 100644 (file)
@@ -1,6 +1,6 @@
 config MLX4_INFINIBAND
        tristate "Mellanox ConnectX HCA support"
-       depends on NETDEVICES && ETHERNET && PCI
+       depends on NETDEVICES && ETHERNET && PCI && INET
        select NET_VENDOR_MELLANOX
        select MLX4_CORE
        ---help---