Unverified Commit b28ab1a9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!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: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 5e730aa5 f90c7fb4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@

config NET_VENDOR_NEBULA_MATRIX
	bool "Nebula-matrix devices"
	default y
	help
	  If you have a network (Ethernet) card belonging to this class, say Y.

@@ -18,9 +17,8 @@ if NET_VENDOR_NEBULA_MATRIX

config M1600
	tristate "Nebula-matrix Ethernet Controller m1600 Family support"
	depends on PCI
	depends on PCI && HWMON
	depends on ARM64 || X86_64
	default m
	help
	  This driver supports Nebula-matrix Ethernet Controller m1600 Family of
	  devices.  For more information about this product, go to the product