]> Pileus Git - ~andy/linux/commit
init.h: add missing initcall variants
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 2 Dec 2013 20:14:40 +0000 (12:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Dec 2013 06:58:13 +0000 (22:58 -0800)
commitb46d0c46ccaa366a5bb8ac709fdf2bcaa76221fd
tree8d3ae2b94f8694026bc25d71cc0dffced125b915
parentacc0f67f307f52f7aec1cffdc40a786c15dd21d9
init.h: add missing initcall variants

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]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/init.h