diff options
| author | Marty Connor | 2006-08-09 06:42:14 +0200 |
|---|---|---|
| committer | Marty Connor | 2006-08-09 06:42:14 +0200 |
| commit | ee9ae8130a7acfbc6a96dd86cf6cf62569e68169 (patch) | |
| tree | 63a80d61dd24cd4f649a478c79f733efeb3c771d /src/net/aoe.c | |
| parent | Make VERSION_MAJOR for gPXE be 0 (diff) | |
| download | ipxe-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 * |
