mac80211: remove get_tx_stats() driver op
[pandora-kernel.git] / include / net / phonet / pn_dev.h
index 44c923c..d7b989c 100644 (file)
@@ -25,7 +25,7 @@
 
 struct phonet_device_list {
        struct list_head list;
-       spinlock_t lock;
+       struct mutex lock;
 };
 
 struct phonet_device_list *phonet_device_list(struct net *net);
@@ -47,6 +47,12 @@ u8 phonet_address_get(struct net_device *dev, u8 addr);
 int phonet_address_lookup(struct net *net, u8 addr);
 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_output(struct net *net, u8 daddr);
+
 #define PN_NO_ADDR     0xff
 
 extern const struct file_operations pn_sock_seq_fops;