未验证 提交 b28ab1a9 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!820 Net: m1600: Fix build err

Merge Pull Request from: @nebula_matrix 
 
M1600 dirver depend on CONFIG_HWMON, let's add the dependency.

Bugfix:https://gitee.com/openeuler/kernel/issues/I77UIM?from=project-issue 
 
Link:https://gitee.com/openeuler/kernel/pulls/820 

Reviewed-by: Jialin Zhang <zhangjialin11@huawei.com> 
Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com> 
...@@ -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.
先完成此消息的编辑!
想要评论请 注册