fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / sound / oss / opl3.c
index 9789c5a..2e8cfa5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * sound/opl3.c
+ * sound/oss/opl3.c
  *
  * A low level driver for Yamaha YM3812 and OPL-3 -chips
  *
@@ -166,7 +166,7 @@ int opl3_detect(int ioaddr, int *osp)
                return 0;
        }
 
-       devc = (struct opl_devinfo *)kmalloc(sizeof(*devc), GFP_KERNEL);
+       devc = kmalloc(sizeof(*devc), GFP_KERNEL);
 
        if (devc == NULL)
        {
@@ -1202,7 +1202,7 @@ static int me;
 
 static int io = -1;
 
-MODULE_PARM(io, "i");
+module_param(io, int, 0);
 
 static int __init init_opl3 (void)
 {