]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: hns: update the dependency
authorKejian Yan <yankejian@huawei.com>
Mon, 13 Jun 2016 08:56:20 +0000 (16:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 06:28:42 +0000 (23:28 -0700)
After the patchset about adding support of ACPI (commit id is 6343488)
being applied, HNS does not depend on OF. It depends on OF or ACPI, so
the Kconfig file needs to be updated.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/Kconfig

index 4ccc032633c4e57576b316cca8f0486a3e8b4a98..2e2566230e27e3c377a75de3c51dcf402ada61ac 100644 (file)
@@ -5,7 +5,7 @@
 config NET_VENDOR_HISILICON
        bool "Hisilicon devices"
        default y
-       depends on OF && HAS_DMA
+       depends on (OF || ACPI) && HAS_DMA
        depends on ARM || ARM64 || COMPILE_TEST
        ---help---
          If you have a network (Ethernet) card belonging to this class, say Y.