UPSTREAM: phy: Add set_mode callback
[firefly-linux-kernel-4.4.55.git] / include / net / phonet / pn_dev.h
index 2d16783d5e201232d8ff47c1165d767ea91435de..8639de5750f640726011672851e1baf78f9bd3a3 100644 (file)
@@ -51,11 +51,12 @@ void phonet_address_notify(int event, struct net_device *dev, u8 addr);
 int phonet_route_add(struct net_device *dev, u8 daddr);
 int phonet_route_del(struct net_device *dev, u8 daddr);
 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst);
-struct net_device *phonet_route_get(struct net *net, u8 daddr);
+struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr);
 struct net_device *phonet_route_output(struct net *net, u8 daddr);
 
 #define PN_NO_ADDR     0xff
 
 extern const struct file_operations pn_sock_seq_fops;
+extern const struct file_operations pn_res_seq_fops;
 
 #endif