kernel-ark/drivers/serial
Martin Habets 58d784a5c7 [SERIAL] sparc: Infrastructure to fix section mismatch bugs.
This patch against 2.6.23 sparc-2.6.git contains a number of minor
cleanups of the sparc serial drivers.  Initially I fixed this build
warning:

WARNING: vmlinux.o(.text+0x107a2c): Section mismatch: reference to .init.text:add_preferred_console (between 'sunserial_console_match' and 'sunserial_console_termios')

which is done by declaring sunserial_console_match() as __init.  This
resulted in build warnings on sunserial_current_minor.  To resolve
these the variable was changed so it is no longer global, and to hide
operations on it inside 2 new functions. These functions handle the
UART minor handling code that is common to all sparc serial drivers.

These changes allowed to clean up the uart counters in all the sparc
serial drivers, and the administration of minor device numbers.

Lastly, sunserial_console_termios() does not need to be exported since
it is only called from non-modular code.

Sadly, the following build warning still exists:

WARNING: vmlinux.o(__ksymtab+0x2910): Section mismatch: reference to .init.text:sunserial_console_match (between '__ksymtab_sunserial_console_match' and '__ksymtab_sunserial_unregister_minors')

This could be resolved by not exporting sunserial_console_match(), but
this is not possible at the moment because it is being called from
modular code. On the other hand, this is a bogus warning since it
comes from a ksymtab section.

Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-12-12 07:36:34 -08:00
..
cpm_uart
jsm
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c serial: only use PNP IRQ if it's valid 2007-11-14 18:45:41 -08:00
8250.c
8250.h
21285.c
68328serial.c
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c
atmel_serial.c atmel_serial build warnings begone 2007-11-14 18:45:39 -08:00
atmel_serial.h
bfin_5xx.c
clps711x.c
crisv10.c CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
crisv10.h CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
ip22zilog.h
Kconfig Blackfin arch: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN 2007-11-23 14:28:44 +08:00
m32r_sio_reg.h
m32r_sio.c
m32r_sio.h
Makefile
mcf.c
mcfserial.c
mcfserial.h
mpc52xx_uart.c
mpsc.c
mux.c
netx-serial.c
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c [ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled 2007-11-26 14:39:12 +00:00
s3c2410.c
sa1100.c
sb1250-duart.c
serial_core.c
serial_cs.c
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c
sh-sci.h
sn_console.c
suncore.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
suncore.h [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunhv.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.h
sunsu.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.h
uartlite.c drivers/serial/uartlite.c: Add missing of_node_put 2007-12-10 19:43:55 -08:00
v850e_uart.c
vr41xx_siu.c
zs.c
zs.h