patch-2.4.10 linux/drivers/char/synclink.c

Next file: linux/drivers/char/sysrq.c
Previous file: linux/drivers/char/sx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/char/synclink.c linux/drivers/char/synclink.c
@@ -934,6 +934,8 @@
 };
 MODULE_DEVICE_TABLE(pci, synclink_pci_tbl);
 
+MODULE_LICENSE("GPL");
+
 static struct pci_driver synclink_pci_driver = {
 	name:		"synclink",
 	id_table:	synclink_pci_tbl,
@@ -8013,7 +8015,8 @@
 int mgsl_sppp_open(struct net_device *d)
 {
 	struct mgsl_struct *info = d->priv;
-	int err, flags;
+	int err;
+	long flags;
 
 	if (debug_level >= DEBUG_LEVEL_INFO)
 		printk("mgsl_sppp_open(%s)\n",info->netname);	
@@ -8056,7 +8059,7 @@
 void mgsl_sppp_tx_timeout(struct net_device *dev)
 {
 	struct mgsl_struct *info = dev->priv;
-	int flags;
+	long flags;
 
 	if (debug_level >= DEBUG_LEVEL_INFO)
 		printk("mgsl_sppp_tx_timeout(%s)\n",info->netname);	

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