infiniband: fix mlx4 kconfig dependency warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 13 Oct 2010 15:12:53 +0000 (15:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2010 18:13:25 +0000 (11:13 -0700)
Fix kconfig dependency warning to satisfy dependencies:

warning: (MLX4_EN && NETDEVICES && NETDEV_10000 && PCI && INET || MLX4_INFINIBAND && INFINIBAND) selects MLX4_CORE which has unmet direct dependencies (NETDEVICES && NETDEV_10000 && PCI)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/Kconfig

index 4175a4bd0c78841e8d9e121a53a4481069195ef6..bd995b2b50d8da143d721aa4d04683844fda410a 100644 (file)
@@ -1,5 +1,6 @@
 config MLX4_INFINIBAND
        tristate "Mellanox ConnectX HCA support"
+       depends on NETDEVICES && NETDEV_10000 && PCI
        select MLX4_CORE
        ---help---
          This driver provides low-level InfiniBand support for