[lkml]   [2008]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [patch 06/18] m68k: Disable Amiga serial console support if modular

On Mon, 13 Oct 2008, Geert Uytterhoeven wrote:
> Apparently console_initcall() is not defined in the modular case.

We can certainly fix that.

Does this make things work for you? If so, send it back with a sign-off
(add you can add mine too - but I'm not going to add it until it's tested)

include/linux/init.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/init.h b/include/linux/init.h
index 93538b6..d9625b5 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -273,6 +273,7 @@ void __init parse_early_param(void);
#else /* MODULE */

/* Don't use these in modules, but some people do... */
+#define console_initcall(fn) module_init(fn)
#define core_initcall(fn) module_init(fn)
#define postcore_initcall(fn) module_init(fn)
#define arch_initcall(fn) module_init(fn)

 \ /
  Last update: 2008-10-14 19:23    [W:0.069 / U:24.148 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site