Re: [PATCH] init.h: add missing initcall variants
From: Timur Tabi
Date: Fri Dec 06 2013 - 22:31:38 EST
On Mon, Dec 2, 2013 at 2:14 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Add missing initcall variants when building for loadable modules.
> This fixes this build error on powerpc allmodconfig:
>
> drivers/tty/ehv_bytechan.c: error: type defaults to 'int' in declaration of 'console_initcall' [-Werror=implicit-int]
Acked-by: Timur Tabi <timur@xxxxxxxx>
However, I wonder if it makes sense to have a console_initcall in a
module at all. Is it possible to load and use a console driver as a
module?
--
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/