diff options
Diffstat (limited to 'drivers/net/appletalk')
-rw-r--r-- | drivers/net/appletalk/ipddp.c | 2 | ||||
-rw-r--r-- | drivers/net/appletalk/ipddp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 56cb96794026..1071144edd66 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -116,7 +116,7 @@ static struct net_device_stats *ipddp_get_stats(struct net_device *dev) | |||
116 | */ | 116 | */ |
117 | static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev) | 117 | static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev) |
118 | { | 118 | { |
119 | u32 paddr = ((struct rtable*)skb->dst)->rt_gateway; | 119 | __be32 paddr = ((struct rtable*)skb->dst)->rt_gateway; |
120 | struct ddpehdr *ddp; | 120 | struct ddpehdr *ddp; |
121 | struct ipddp_route *rt; | 121 | struct ipddp_route *rt; |
122 | struct atalk_addr *our_addr; | 122 | struct atalk_addr *our_addr; |
diff --git a/drivers/net/appletalk/ipddp.h b/drivers/net/appletalk/ipddp.h index 52072fb0c610..531519da99a3 100644 --- a/drivers/net/appletalk/ipddp.h +++ b/drivers/net/appletalk/ipddp.h | |||
@@ -14,7 +14,7 @@ | |||
14 | struct ipddp_route | 14 | struct ipddp_route |
15 | { | 15 | { |
16 | struct net_device *dev; /* Carrier device */ | 16 | struct net_device *dev; /* Carrier device */ |
17 | __u32 ip; /* IP address */ | 17 | __be32 ip; /* IP address */ |
18 | struct atalk_addr at; /* Gateway appletalk address */ | 18 | struct atalk_addr at; /* Gateway appletalk address */ |
19 | int flags; | 19 | int flags; |
20 | struct ipddp_route *next; | 20 | struct ipddp_route *next; |