From ee9ae8130a7acfbc6a96dd86cf6cf62569e68169 Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Wed, 9 Aug 2006 04:42:14 +0000 Subject: Remove _PROTOCOL macros for gcc 3.2 compatibility --- src/net/aoe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/net/aoe.c') diff --git a/src/net/aoe.c b/src/net/aoe.c index e0954fa55..199cabf74 100644 --- a/src/net/aoe.c +++ b/src/net/aoe.c @@ -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 * -- cgit v1.2.3-55-g7522