net/bonding: Make DRV macros private
authorMatan Barak <matanb@mellanox.com>
Sun, 26 Apr 2015 12:55:57 +0000 (15:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2015 02:59:53 +0000 (22:59 -0400)
commit73b5a6f2a7a1cb78ccdec3900afc8657e11bc6bf
tree8aa2b843848883286e19998dd952262c4849a895
parenta31196b07f8034eba6a3487a1ad1bb5ec5cd58a5
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>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_procfs.c
drivers/net/bonding/bonding_priv.h [new file with mode: 0644]
include/net/bonding.h