提交 f90c7fb4 编写于 作者: N nebula_matrix

Net: m1600: Fix build err for hwmon.c.

    m1600-dirver inclusion
    category: bugfix
    bugzilla: https://gitee.com/openeuler/kernel/issues/I77UIM
    CVE: NA

    --------------------------------

    M1600 dirver depend on CONFIG_HWMON, let's add the dependency.
Signed-off-by: NYi Chen <open@nebula-matrix.com>
上级 5e730aa5
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
config NET_VENDOR_NEBULA_MATRIX config NET_VENDOR_NEBULA_MATRIX
bool "Nebula-matrix devices" bool "Nebula-matrix devices"
default y
help help
If you have a network (Ethernet) card belonging to this class, say Y. If you have a network (Ethernet) card belonging to this class, say Y.
...@@ -18,9 +17,8 @@ if NET_VENDOR_NEBULA_MATRIX ...@@ -18,9 +17,8 @@ if NET_VENDOR_NEBULA_MATRIX
config M1600 config M1600
tristate "Nebula-matrix Ethernet Controller m1600 Family support" tristate "Nebula-matrix Ethernet Controller m1600 Family support"
depends on PCI depends on PCI && HWMON
depends on ARM64 || X86_64 depends on ARM64 || X86_64
default m
help help
This driver supports Nebula-matrix Ethernet Controller m1600 Family of This driver supports Nebula-matrix Ethernet Controller m1600 Family of
devices. For more information about this product, go to the product devices. For more information about this product, go to the product
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册