summaryrefslogtreecommitdiffstats
path: root/net/dsa/Makefile
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-01-06 16:42:00 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-07 22:37:22 -0500
commit111427f6eb5a5d9ce22f8a90780ac1c18113091a (patch)
treebe21caceeb6c09b53b08dc66976301628e9705c3 /net/dsa/Makefile
parent82e4869da38069232b62013b2f77c9d73fc97147 (diff)
downloadtalos-obmc-linux-111427f6eb5a5d9ce22f8a90780ac1c18113091a.tar.gz
talos-obmc-linux-111427f6eb5a5d9ce22f8a90780ac1c18113091a.zip
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/Makefile1
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
OpenPOWER on IntegriCloud