bonding: move procfs code into bond_procfs.c
authorAmerigo Wang <amwang@redhat.com>
Sun, 6 Mar 2011 21:58:46 +0000 (21:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Mar 2011 21:32:17 +0000 (13:32 -0800)
commitbd33acc3cc525972ac779067e98efb26516c5b94
treeba11a65bb14001f390abe15644c7397c7ffc4935
parenta015f6f49968c330b236ca2f6c2170820414f922
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>
drivers/net/bonding/Makefile
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_procfs.c [new file with mode: 0644]
drivers/net/bonding/bonding.h