diff options
author | Amerigo Wang <amwang@redhat.com> | 2011-03-06 16:58:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-09 16:32:17 -0500 |
commit | bd33acc3cc525972ac779067e98efb26516c5b94 (patch) | |
tree | ba11a65bb14001f390abe15644c7397c7ffc4935 /drivers/net/bonding/Makefile | |
parent | a015f6f49968c330b236ca2f6c2170820414f922 (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/Makefile | 3 |
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 | |||
6 | 6 | ||
7 | bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_debugfs.o | 7 | bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_debugfs.o |
8 | 8 | ||
9 | proc-$(CONFIG_PROC_FS) += bond_procfs.o | ||
10 | bonding-objs += $(proc-y) | ||
11 | |||
9 | ipv6-$(subst m,y,$(CONFIG_IPV6)) += bond_ipv6.o | 12 | ipv6-$(subst m,y,$(CONFIG_IPV6)) += bond_ipv6.o |
10 | bonding-objs += $(ipv6-y) | 13 | bonding-objs += $(ipv6-y) |
11 | 14 | ||