summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorMatan Barak2015-04-26 14:55:57 +0200
committerDavid S. Miller2015-04-27 04:59:53 +0200
commit73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf (patch)
tree8aa2b843848883286e19998dd952262c4849a895 /drivers/net/bonding/bond_main.c
parentnet: rfs: fix crash in get_rps_cpus() (diff)
downloadkernel-qcow2-linux-73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf.tar.gz
kernel-qcow2-linux-73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf.tar.xz
kernel-qcow2-linux-73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf.zip
net/bonding: Make DRV macros private
The bonding modules currently defines four macros with general names that pollute the global namespace: DRV_VERSION DRV_RELDATE DRV_NAME DRV_DESCRIPTION Fixing that by defining a private bonding_priv.h header files which includes those defines. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 78dde56ae6e6..3a10551d64cf 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -82,6 +82,8 @@
#include <net/bond_3ad.h>
#include <net/bond_alb.h>
+#include "bonding_priv.h"
+
/*---------------------------- Module parameters ----------------------------*/
/* monitor all links that often (in milliseconds). <=0 disables monitoring */