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-02 15:53:13 -07:00
2008-10-23 10:20:36 -07:00
2008-10-24 08:22:38 -07:00
2008-10-11 12:39:35 -07:00
2008-07-24 10:47:41 -07:00
2008-10-20 08:52:32 -07:00
2008-10-21 07:49:06 -04:00
2008-10-13 14:12:40 -07:00
2008-10-21 07:48:21 -04:00
2008-10-26 12:11:21 -07:00
2008-10-20 13:14:06 +02:00
2008-06-27 20:03:24 -07:00
2008-10-09 13:52:44 -04:00
2008-10-23 10:53:02 -07:00
2008-09-14 13:41:19 -07:00
2008-10-16 09:24:43 -07:00
2008-07-20 17:24:40 -07:00
2008-10-23 00:11:07 -04:00
2008-10-20 08:52:40 -07:00
2008-07-21 21:54:53 -07:00
2008-10-15 22:21:10 +02:00
2008-10-20 08:52:42 -07:00
2008-10-22 01:19:39 +02:00
2008-10-23 10:18:40 -07:00
2008-10-17 14:41:09 -07:00
2008-10-26 17:04:40 +01:00
2008-10-23 10:10:25 -07:00
2008-10-26 09:35:05 -07:00
2008-10-21 23:58:41 -04:00
2008-10-16 15:02:24 -07:00
2008-10-23 08:16:03 -07:00
2008-10-22 19:34:09 +01:00
2008-10-16 09:24:43 -07:00
2008-10-23 16:07:32 -07:00
2008-08-26 00:19:28 +10:00
2008-10-16 09:24:43 -07:00
2008-07-21 21:54:53 -07:00
2008-10-23 10:23:07 -07:00
2008-10-21 14:32:12 -02:00
2008-10-21 07:48:33 -04:00
2008-10-23 13:02:03 -07:00
2008-10-22 01:39:55 +02:00
2008-10-23 00:43:47 -04:00
2008-10-21 07:48:37 -04:00
2008-10-21 07:49:00 -04:00
2008-10-26 09:35:05 -07:00
2008-10-16 11:21:30 -07:00
2008-10-21 15:49:55 +11:00
2008-10-23 10:05:40 -07:00
2008-10-21 07:47:06 -04:00
2008-10-23 09:31:09 -07:00
2008-10-23 19:48:29 -07:00
2008-10-23 08:12:21 -07:00
2008-10-23 00:11:07 -04:00
2008-10-20 09:44:30 -07:00
2008-10-20 08:05:15 +02:00
2008-07-10 18:04:43 -07:00
2008-10-13 21:51:57 +01:00
2008-10-23 10:20:15 -07:00
2008-10-23 10:53:02 -07:00
2008-09-03 15:55:32 -07:00
2008-10-23 13:02:03 -07:00
2008-10-23 09:35:18 -07:00
2008-10-01 16:13:54 +09:00
2008-10-16 12:40:26 -07:00
2008-10-13 14:12:40 -07:00
2008-10-23 15:31:09 -04:00
2008-10-20 08:52:36 -07:00
2008-06-25 19:25:42 -04:00
2008-10-20 13:42:14 -07:00
2008-10-23 10:09:50 -07:00
2008-10-20 14:37:53 +01:00
2008-10-23 16:06:49 -07:00
2008-08-26 00:19:25 +10:00
2008-10-20 08:52:42 -07:00
2008-10-23 09:19:47 -07:00
2008-10-22 22:55:20 -07:00
2008-07-24 10:47:13 -07:00
2008-10-20 16:07:19 +01:00
2008-10-23 10:20:36 -07:00