diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/phonet/phonet.h | 2 | ||||
-rw-r--r-- | include/net/phonet/pn_dev.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h index c6a245184460..057b0a8a2885 100644 --- a/include/net/phonet/phonet.h +++ b/include/net/phonet/phonet.h | |||
@@ -46,7 +46,7 @@ static inline struct pn_sock *pn_sk(struct sock *sk) | |||
46 | 46 | ||
47 | extern const struct proto_ops phonet_dgram_ops; | 47 | extern const struct proto_ops phonet_dgram_ops; |
48 | 48 | ||
49 | struct sock *pn_find_sock_by_sa(const struct sockaddr_pn *sa); | 49 | struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa); |
50 | void phonet_get_local_port_range(int *min, int *max); | 50 | void phonet_get_local_port_range(int *min, int *max); |
51 | void pn_sock_hash(struct sock *sk); | 51 | void pn_sock_hash(struct sock *sk); |
52 | void pn_sock_unhash(struct sock *sk); | 52 | void pn_sock_unhash(struct sock *sk); |
diff --git a/include/net/phonet/pn_dev.h b/include/net/phonet/pn_dev.h index bbd2a836e04c..aa1c59a1d33f 100644 --- a/include/net/phonet/pn_dev.h +++ b/include/net/phonet/pn_dev.h | |||
@@ -43,7 +43,7 @@ struct net_device *phonet_device_get(struct net *net); | |||
43 | int phonet_address_add(struct net_device *dev, u8 addr); | 43 | int phonet_address_add(struct net_device *dev, u8 addr); |
44 | int phonet_address_del(struct net_device *dev, u8 addr); | 44 | int phonet_address_del(struct net_device *dev, u8 addr); |
45 | u8 phonet_address_get(struct net_device *dev, u8 addr); | 45 | u8 phonet_address_get(struct net_device *dev, u8 addr); |
46 | int phonet_address_lookup(u8 addr); | 46 | int phonet_address_lookup(struct net *net, u8 addr); |
47 | 47 | ||
48 | #define PN_NO_ADDR 0xff | 48 | #define PN_NO_ADDR 0xff |
49 | 49 | ||