Re: [2.6 PATCH] Altix - console driver calls console_initcall

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2004-03-09 08:29:29
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-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Mar 8 16:37:23 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST