Re: [2.6 PATCH] Altix - console driver calls console_initcall
From: Bjorn Helgaas
Date: Mon Mar 08 2004 - 16:33:27 EST
On Monday 08 March 2004 1:32 pm, Pat Gefre wrote:
> -static void __init sn_sal_serial_console_init(void);
> +int __init sn_sal_serial_console_init(void);
I don't see any callers other than the console_initcall(), so
you could lose the declaration altogether.
> -static void __init
> +int __init
> sn_sal_serial_console_init(void)
console_initcall() works fine with static functions, so you should
be able to keep this static.
Bjorn
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/