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