kernel-ark/drivers/char
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
..
agp Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 2008-10-20 14:40:31 -07:00
hw_random Merge branch 'fixes' into for-linus 2008-10-15 23:16:07 +01:00
ip2 device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
ipmi device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
mwave
pcmcia device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
rio
tpm tpm: don't export static functions 2008-10-20 08:50:24 -07:00
xilinx_hwicap device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
.gitignore
amiserial.c m68k: Disable Amiga serial console support if modular 2008-10-26 12:11:21 -07:00
apm-emulation.c
applicom.c applicom.c: fix apparently-broken code in do_ac_read() 2008-10-16 11:21:47 -07:00
applicom.h
bfin-otp.c
briq_panel.c
bsr.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
cd1865.h
ChangeLog
consolemap.c
cp437.uni
cs5535_gpio.c
cyclades.c Char: cyclades. remove bogus iomap 2008-10-13 09:51:38 -07:00
defkeymap.c_shipped
defkeymap.map
digi1.h
digiFep1.h
digiPCI.h
ds1286.c rtc: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
ds1302.c rtc: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
ds1620.c
dsp56k.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
dtlk.c
efirtc.c
epca.c epca: Add infinite break support 2008-10-20 09:41:06 -07:00
epca.h
epcaconfig.h
esp.c
generic_nvram.c
generic_serial.c tty: Remove lots of NULL checks 2008-10-13 09:51:44 -07:00
genrtc.c
hangcheck-timer.c
hpet.c drivers/char: use nr_irqs 2008-10-16 16:52:05 +02:00
hvc_beat.c
hvc_console.c hvc_console: Remove __devexit annotation of hvc_remove() 2008-10-22 11:00:25 +11:00
hvc_console.h hvc_console: Remove __devexit annotation of hvc_remove() 2008-10-22 11:00:25 +11:00
hvc_irq.c hvc_console: Add a hangup notifier for backends 2008-10-22 10:59:54 +11:00
hvc_iseries.c hvc_console: Add a hangup notifier for backends 2008-10-22 10:59:54 +11:00
hvc_rtas.c
hvc_vio.c hvc_console: Add a hangup notifier for backends 2008-10-22 10:59:54 +11:00
hvc_xen.c hvc_console: Add a hangup notifier for backends 2008-10-22 10:59:54 +11:00
hvcs.c
hvsi.c
i8k.c
ip27-rtc.c rtc: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
isicom.c tty: kref usage for isicom and moxa 2008-10-13 09:51:41 -07:00
istallion.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
Kconfig legacy rtc: remove needless/confusing HPET_RTC_IRQ option 2008-10-16 11:21:39 -07:00
keyboard.c Input: keyboard - fix potential out of bound access to key_map 2008-10-08 23:45:36 -04:00
lp.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
Makefile tty: Split tty_port into its own file 2008-10-13 09:51:40 -07:00
mbcs.c
mbcs.h
mem.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
misc.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
mmtimer.c
moxa.c char: moxa.c sparse annotation 2008-10-16 11:21:47 -07:00
moxa.h
mspec.c
mxser.c tty: Remove lots of NULL checks 2008-10-13 09:51:44 -07:00
mxser.h
n_hdlc.c tty: some ICANON magic is in the wrong places 2008-10-13 09:51:44 -07:00
n_r3964.c tty: Remove lots of NULL checks 2008-10-13 09:51:44 -07:00
n_tty.c tty: rename the remaining oddly named n_tty functions 2008-10-13 09:51:45 -07:00
nozomi.c nozomi: Fix close on error 2008-10-13 09:51:39 -07:00
nsc_gpio.c
nvram.c [PATCH] introduce fmode_t, do annotations 2008-10-21 07:47:06 -04:00
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c pc8736x_gpio: add support for PC87365 chips 2008-10-20 08:52:40 -07:00
ppdev.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
ps3flash.c
pty.c pty: simplify unix98 allocation 2008-10-13 09:51:44 -07:00
random.c Merge branch 'genirq-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-20 13:23:01 -07:00
raw.c [PATCH] kill the rest of struct file propagation in block ioctls 2008-10-21 07:49:14 -04:00
riscom8_reg.h
riscom8.c
riscom8.h
rocket_int.h
rocket.c
rocket.h
rtc.c rtc: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
scc.h
scx200_gpio.c
selection.c
ser_a2232.c
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c
snsc_event.c
snsc.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
snsc.h
sonypi.c
specialix_io8.h
specialix.c
stallion.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
sx.c Char: sx, remove bogus iomap 2008-10-20 08:52:36 -07:00
sx.h
sxboards.h
sxwindow.h
synclink_gt.c
synclink.c
synclinkmp.c
sysrq.c Fix documentation of sysrq-q 2008-10-20 08:52:34 -07:00
tb0219.c
tlclk.c
toshiba.c
tty_audit.c audit: Handle embedded NUL in TTY input auditing 2008-10-13 09:51:39 -07:00
tty_buffer.c tty: split the buffering from tty_io 2008-10-13 09:51:40 -07:00
tty_io.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
tty_ioctl.c tty: some ICANON magic is in the wrong places 2008-10-13 09:51:44 -07:00
tty_ldisc.c
tty_port.c tty: Fix tty_port kref screwup 2008-10-23 09:20:53 -07:00
vc_screen.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
viotape.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
virtio_console.c hvc_console: Add a hangup notifier for backends 2008-10-22 10:59:54 +11:00
vme_scc.c
vr41xx_giu.c drivers/char: use nr_irqs 2008-10-16 16:52:05 +02:00
vt_ioctl.c tty: move tioclinux from a special case 2008-10-13 09:51:40 -07:00
vt.c Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00