diff options
author | Matan Barak <matanb@mellanox.com> | 2015-04-26 15:55:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-26 22:59:53 -0400 |
commit | 73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf (patch) | |
tree | 8aa2b843848883286e19998dd952262c4849a895 /drivers/net/bonding/bonding_priv.h | |
parent | a31196b07f8034eba6a3487a1ad1bb5ec5cd58a5 (diff) | |
download | linux-73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf.tar.gz linux-73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf.tar.bz2 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/bonding_priv.h')
-rw-r--r-- | drivers/net/bonding/bonding_priv.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding_priv.h b/drivers/net/bonding/bonding_priv.h new file mode 100644 index 000000000000..5a4d81a9437c --- /dev/null +++ b/drivers/net/bonding/bonding_priv.h @@ -0,0 +1,25 @@ +/* + * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. + * + * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes + * NCM: Network and Communications Management, Inc. + * + * BUT, I'm the one who modified it for ethernet, so: + * (c) Copyright 1999, Thomas Davis, tadavis@lbl.gov + * + * This software may be used and distributed according to the terms + * of the GNU Public License, incorporated herein by reference. + * + */ + +#ifndef _BONDING_PRIV_H +#define _BONDING_PRIV_H + +#define DRV_VERSION "3.7.1" +#define DRV_RELDATE "April 27, 2011" +#define DRV_NAME "bonding" +#define DRV_DESCRIPTION "Ethernet Channel Bonding Driver" + +#define bond_version DRV_DESCRIPTION ": v" DRV_VERSION " (" DRV_RELDATE ")\n" + +#endif |