patch-2.3.14 linux/net/ax25/ax25_dev.c

Next file: linux/net/ax25/ax25_iface.c
Previous file: linux/net/ax25/af_ax25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/net/ax25/ax25_dev.c linux/net/ax25/ax25_dev.c
@@ -42,7 +42,7 @@
 
 ax25_dev *ax25_dev_list = NULL;
 
-ax25_dev *ax25_dev_ax25dev(struct device *dev)
+ax25_dev *ax25_dev_ax25dev(struct net_device *dev)
 {
 	ax25_dev *ax25_dev;
 
@@ -68,7 +68,7 @@
  *	This is called when an interface is brought up. These are
  *	reasonable defaults.
  */
-void ax25_dev_device_up(struct device *dev)
+void ax25_dev_device_up(struct net_device *dev)
 {
 	ax25_dev *ax25_dev;
 	unsigned long flags;
@@ -112,7 +112,7 @@
 #endif
 }
 
-void ax25_dev_device_down(struct device *dev)
+void ax25_dev_device_down(struct net_device *dev)
 {
 	ax25_dev *s, *ax25_dev;
 	unsigned long flags;
@@ -196,7 +196,7 @@
 	return 0;
 }
 
-struct device *ax25_fwd_dev(struct device *dev)
+struct net_device *ax25_fwd_dev(struct net_device *dev)
 {
 	ax25_dev *ax25_dev;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)