Re: Fix for maestro in 2.3.99-preX

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sun Apr 16 2000 - 15:38:33 EST


Pavel Machek wrote:
>
> Hi!
>
> This simple patch makes maestro work in-kernel in 2.3.99-preX. Please
> apply.
>
> Pavel
> --- clean/drivers/sound/maestro.c Wed Feb 9 20:42:35 2000
> +++ linux/drivers/sound/maestro.c Sun Apr 16 20:41:50 2000
> @@ -3507,3 +3507,5 @@
>
> return 0;
> }
> +
> +__initcall(init_maestro);

This should be module_init() not __initcall()...

Following with the Linux kernel tradition you should not use a function
prefixed with '__' unless you have a reason NOT to use the "main
function".

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:09 EST