diff options
Diffstat (limited to 'net/ax25/ax25_in.c')
| -rw-r--r-- | net/ax25/ax25_in.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c index cd6afe895db9..1cac25aca637 100644 --- a/net/ax25/ax25_in.c +++ b/net/ax25/ax25_in.c @@ -181,7 +181,7 @@ static int ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, i  }  static int ax25_rcv(struct sk_buff *skb, struct net_device *dev, -	ax25_address *dev_addr, struct packet_type *ptype) +		    const ax25_address *dev_addr, struct packet_type *ptype)  {  	ax25_address src, dest, *next_digi = NULL;  	int type = 0, mine = 0, dama; @@ -447,5 +447,5 @@ int ax25_kiss_rcv(struct sk_buff *skb, struct net_device *dev,  	skb_pull(skb, AX25_KISS_HEADER_LEN);	/* Remove the KISS byte */ -	return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype); +	return ax25_rcv(skb, dev, (const ax25_address *)dev->dev_addr, ptype);  } |