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)
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

Simple merge
Simple merge
Simple merge
Simple merge