summaryrefslogtreecommitdiffstats
path: root/src/net/aoe.c
diff options
context:
space:
mode:
authorMarty Connor2006-08-09 06:42:14 +0200
committerMarty Connor2006-08-09 06:42:14 +0200
commitee9ae8130a7acfbc6a96dd86cf6cf62569e68169 (patch)
tree63a80d61dd24cd4f649a478c79f733efeb3c771d /src/net/aoe.c
parentMake VERSION_MAJOR for gPXE be 0 (diff)
downloadipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.gz
ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.xz
ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.zip
Remove _PROTOCOL macros for gcc 3.2 compatibility
Diffstat (limited to 'src/net/aoe.c')
-rw-r--r--src/net/aoe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/aoe.c b/src/net/aoe.c
index e0954fa5..199cabf7 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
*