patch-2.3.10 linux/drivers/char/radio-gemtek.c

Next file: linux/drivers/char/radio-miropcm20.c
Previous file: linux/drivers/char/radio-cadet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/drivers/char/radio-gemtek.c linux/drivers/char/radio-gemtek.c
@@ -250,7 +250,7 @@
 	NULL
 };
 
-__initfunc(int gemtek_init(struct video_init *v))
+int __init gemtek_init(struct video_init *v)
 {
 	if (check_region(io, 4)) 
 	{
@@ -282,7 +282,7 @@
 MODULE_AUTHOR("Jonas Munsin");
 MODULE_DESCRIPTION("A driver for the GemTek Radio Card");
 MODULE_PARM(io, "i");
-MODULE_PARM_DESC(io, "I/O address of the GemTek card (0x20c, 0x30c, 0x24c or 0x34c)");
+MODULE_PARM_DESC(io, "I/O address of the GemTek card (0x20c, 0x30c, 0x24c or 0x34c (or 0x248 for the combined sound/radiocard))");
 
 EXPORT_NO_SYMBOLS;
 
@@ -290,7 +290,7 @@
 {
 	if(io==-1)
 	{
-		printk(KERN_ERR "You must set an I/O address with io=0x20c, io=0x30c, io=0x24c or io=0x34c\n");
+		printk(KERN_ERR "You must set an I/O address with io=0x20c, io=0x30c, io=0x24c or io=0x34c (or io=0x248 for the combined sound/radiocard)\n");
 		return -EINVAL;
 	}
 	return gemtek_init(NULL);

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