diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-01-07 00:42:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-08 06:37:22 +0300 |
commit | 111427f6eb5a5d9ce22f8a90780ac1c18113091a (patch) | |
tree | be21caceeb6c09b53b08dc66976301628e9705c3 /net/dsa/Makefile | |
parent | 82e4869da38069232b62013b2f77c9d73fc97147 (diff) | |
download | linux-111427f6eb5a5d9ce22f8a90780ac1c18113091a.tar.xz |
net: dsa: move HWMON support to its own file
Isolate the HWMON support in DSA in its own file. Currently only the
legacy DSA code is concerned.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Makefile')
-rw-r--r-- | net/dsa/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/Makefile b/net/dsa/Makefile index a3380ed0e0be..560b6747c276 100644 --- a/net/dsa/Makefile +++ b/net/dsa/Makefile @@ -1,6 +1,7 @@ # the core obj-$(CONFIG_NET_DSA) += dsa_core.o dsa_core-y += dsa.o slave.o dsa2.o +dsa_core-$(CONFIG_NET_DSA_HWMON) += hwmon.o # tagging formats dsa_core-$(CONFIG_NET_DSA_TAG_BRCM) += tag_brcm.o |