diff options
author | Jiri Pirko <jiri@mellanox.com> | 2015-11-27 13:45:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-30 15:05:40 -0500 |
commit | 89309da39f55922f6ca18ecd09a158c319c69d55 (patch) | |
tree | 4fb282164ff6065aed09bb4094b94cbd264f19bc /drivers/net/ethernet/mellanox/mlxsw/Makefile | |
parent | 85926f8770403d4c7a1828db873eb8c6bec14ce5 (diff) | |
download | linux-stable-89309da39f55922f6ca18ecd09a158c319c69d55.tar.gz linux-stable-89309da39f55922f6ca18ecd09a158c319c69d55.tar.bz2 linux-stable-89309da39f55922f6ca18ecd09a158c319c69d55.zip |
mlxsw: core: Implement temperature hwmon interface
ASIC provides access to temperature sensors. Implement their exposure to
userspace using hwmon.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/Makefile')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Makefile b/drivers/net/ethernet/mellanox/mlxsw/Makefile index af015818fd19..584cac444852 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Makefile +++ b/drivers/net/ethernet/mellanox/mlxsw/Makefile @@ -1,5 +1,6 @@ obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o mlxsw_core-objs := core.o +mlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o mlxsw_pci-objs := pci.o obj-$(CONFIG_MLXSW_SWITCHX2) += mlxsw_switchx2.o |