summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/Makefile
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-03-06 21:58:46 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-09 13:32:17 -0800
commitbd33acc3cc525972ac779067e98efb26516c5b94 (patch)
treeba11a65bb14001f390abe15644c7397c7ffc4935 /drivers/net/bonding/Makefile
parenta015f6f49968c330b236ca2f6c2170820414f922 (diff)
bonding: move procfs code into bond_procfs.c
V2: Move #ifdef CONFIG_PROC_FS into bonding.h, as suggested by David. bond_main.c is bloating, separate the procfs code out, move them to bond_procfs.c Signed-off-by: WANG Cong <amwang@redhat.com> Reviewed-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/Makefile')
-rw-r--r--drivers/net/bonding/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/Makefile b/drivers/net/bonding/Makefile
index 0e2737eac8b7..3c5c014e82b2 100644
--- a/drivers/net/bonding/Makefile
+++ b/drivers/net/bonding/Makefile
@@ -6,6 +6,9 @@ obj-$(CONFIG_BONDING) += bonding.o
bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_debugfs.o
+proc-$(CONFIG_PROC_FS) += bond_procfs.o
+bonding-objs += $(proc-y)
+
ipv6-$(subst m,y,$(CONFIG_IPV6)) += bond_ipv6.o
bonding-objs += $(ipv6-y)