[parisc-linux-cvs] add "return 0" to avoid a compiler warning

Helge Deller deller@gmx.de
Tue, 28 Aug 2001 14:19:20 +0200


Index: parport_gsc.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/parport/parport_gsc.c,v
retrieving revision 1.15
diff -u -r1.15 parport_gsc.c
--- parport_gsc.c	2001/08/28 00:54:11	1.15
+++ parport_gsc.c	2001/08/28 12:15:24
@@ -496,7 +496,7 @@
 }
 
 static struct parisc_device_id parport_tbl[] = {
-	{ HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x74 }, /* 715/64 */
+	{ HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x74 },
 	{ 0, }
 };
 
@@ -514,6 +514,8 @@
 	superio_parport_init();
 #endif
 	register_parisc_driver(&parport_driver);
+
+	return 0;
 }
 
 static void __devexit parport_gsc_exit(void)