Remove _PROTOCOL macros for gcc 3.2 compatibility

This commit is contained in:
Marty Connor
2006-08-09 04:42:14 +00:00
parent dd7e103d58
commit ee9ae8130a
9 changed files with 17 additions and 55 deletions

View File

@@ -253,14 +253,12 @@ static int aoe_rx ( struct pk_buff *pkb, struct net_device *netdev __unused,
}
/** AoE protocol */
struct net_protocol aoe_protocol = {
struct net_protocol aoe_protocol __net_protocol = {
.name = "AoE",
.net_proto = htons ( ETH_P_AOE ),
.rx = aoe_rx,
};
NET_PROTOCOL ( aoe_protocol );
/**
* Open AoE session
*