Messages in this thread Patch in this message | | | Date | Fri, 21 Mar 2003 20:10:05 GMT | From | Alan Cox <> | Subject | PATCH: mpu401 uses __init vars during __exit |
| |
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/sound/oss/mpu401.c linux-2.5.65-ac2/sound/oss/mpu401.c --- linux-2.5.65/sound/oss/mpu401.c 2003-02-10 18:38:53.000000000 +0000 +++ linux-2.5.65-ac2/sound/oss/mpu401.c 2003-03-06 23:55:25.000000000 +0000 @@ -1762,13 +1762,13 @@ static struct address_info cfg; -static int __initdata io = -1; -static int __initdata irq = -1; +static int io = -1; +static int irq = -1; MODULE_PARM(irq, "i"); MODULE_PARM(io, "i"); -int __init init_mpu401(void) +static int __init init_mpu401(void) { int ret; /* Can be loaded either for module use or to provide functions @@ -1785,7 +1785,7 @@ return 0; } -void __exit cleanup_mpu401(void) +static void __exit cleanup_mpu401(void) { if (io != -1 && irq != -1) { /* Check for use by, for example, sscape driver */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |