Geert Uytterhoeven d1a35e4d74 m68k: Disable Amiga serial console support if modular
If CONFIG_AMIGA_BUILTIN_SERIAL=m, I get the following warnings:

| drivers/char/amiserial.c: At top level:
| drivers/char/amiserial.c:2138: warning: data definition has no type or storage class
| drivers/char/amiserial.c:2138: warning: type defaults to 'int' in declaration of 'console_initcall'
| drivers/char/amiserial.c:2138: warning: parameter names (without types) in function declaration
| drivers/char/amiserial.c:2134: warning: 'amiserial_console_init' defined but not used

because console_initcall() is not defined (nor really sensible) in the
modular case.

So disable serial console support if the driver is modular.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-26 12:11:21 -07:00
..
2008-10-24 08:22:38 -07:00
2008-10-21 07:48:21 -04:00
2008-10-23 00:11:07 -04:00
2008-10-20 08:52:40 -07:00
2008-10-22 01:19:39 +02:00
2008-10-17 14:41:09 -07:00
2008-10-26 09:35:05 -07:00
2008-10-21 23:58:41 -04:00
2008-10-21 07:48:33 -04:00
2008-10-23 00:43:47 -04:00
2008-10-21 07:48:37 -04:00
2008-10-16 11:21:30 -07:00
2008-10-21 15:49:55 +11:00
2008-10-23 19:48:29 -07:00
2008-10-23 00:11:07 -04:00
2008-10-23 09:35:18 -07:00
2008-10-20 08:52:36 -07:00
2008-10-23 09:19:47 -07:00
2008-10-22 22:55:20 -07:00