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

Next file: linux/drivers/net/smc-mca.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/slip.h linux/drivers/net/slip.h
@@ -52,7 +52,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	*/
 #ifdef SL_INCLUDE_CSLIP
   struct slcompress	*slcomp;	/* for header compression 	*/
   unsigned char		*cbuff;		/* compression buffer		*/
@@ -118,6 +118,6 @@
 
 #define SLIP_MAGIC 0x5302
 
-extern int slip_init(struct device *dev);
+extern int slip_init(struct net_device *dev);
 
 #endif	/* _LINUX_SLIP.H */

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