patch-2.3.14 linux/drivers/net/hamradio/soundmodem/sm.h

Next file: linux/drivers/net/hamradio/soundmodem/sm_sbc.c
Previous file: linux/drivers/net/hamradio/soundmodem/sm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/hamradio/soundmodem/sm.h linux/drivers/net/hamradio/soundmodem/sm.h
@@ -141,11 +141,11 @@
 	/*
 	 * mode specific open/close
 	 */
-	int (*open)(struct device *, struct sm_state *);
-	int (*close)(struct device *, struct sm_state *);
-	int (*ioctl)(struct device *, struct sm_state *, struct ifreq *,
+	int (*open)(struct net_device *, struct sm_state *);
+	int (*close)(struct net_device *, struct sm_state *);
+	int (*ioctl)(struct net_device *, struct sm_state *, struct ifreq *,
 		     struct hdlcdrv_ioctl *, int);
-	int (*sethw)(struct device *, struct sm_state *, char *);
+	int (*sethw)(struct net_device *, struct sm_state *, char *);
 };
 
 /* --------------------------------------------------------------------- */

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