patch-2.3.14 linux/drivers/net/x25_asy.h

Next file: linux/drivers/net/yellowfin.c
Previous file: linux/drivers/net/x25_asy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/x25_asy.h linux/drivers/net/x25_asy.h
@@ -19,7 +19,7 @@
 
   /* Various fields. */
   struct tty_struct	*tty;		/* ptr to TTY structure		*/
-  struct device		*dev;		/* easy for intr handling	*/
+  struct net_device		*dev;		/* easy for intr handling	*/
 
   /* These are pointers to the malloc()ed frame buffers. */
   unsigned char		*rbuff;		/* receiver buffer		*/
@@ -53,6 +53,6 @@
 
 #define X25_ASY_MAGIC 0x5303
 
-extern int x25_asy_init(struct device *dev);
+extern int x25_asy_init(struct net_device *dev);
 
 #endif	/* _LINUX_X25_ASY.H */

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