android_kernel_motorola_sm6225/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 [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -07:00
8250.c Serial 8250: handle saving the clear-on-read bits from the LSR and MSR 2007-08-22 19:52:44 -07:00
8250.h
8250_accent.c
8250_acorn.c [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
8250_au1x00.c
8250_boca.c
8250_early.c serial: fix compile warning about putc 2007-11-05 15:12:32 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
8250_hub6.c
8250_mca.c
8250_pci.c PCI: pciserial_resume_one ignored return value of pci_enable_device 2007-11-05 13:35:17 -08:00
8250_pnp.c serial: only use PNP IRQ if it's valid 2007-11-14 18:45:41 -08:00
21285.c
68328serial.c m68knommu: fix workqueues in 68328 serial driver 2007-07-25 11:05:01 -07:00
68328serial.h
68360serial.c 68360serial: remove broken optimisation 2007-07-16 09:05:51 -07:00
amba-pl010.c [ARM] Fix 4417/1: Serial: Fix AMBA drivers locking 2007-06-05 19:39:49 +01:00
amba-pl011.c amba-pl011, rename BIT macro 2007-10-19 11:53:42 -07:00
atmel_serial.c atmel_serial build warnings begone 2007-11-14 18:45:39 -08:00
atmel_serial.h [ARM] 4357/1: AT91: Support slower serial baud-rates 2007-05-03 14:12:45 +01:00
bfin_5xx.c Blackfin arch: update kgdb patch 2007-10-10 16:47:58 +08:00
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 [PATCH] dz: remove struct pt_regs references 2007-03-05 07:57:51 -08:00
dz.h
icom.c icom: add new sub-device-id to support new adapter 2007-05-17 05:23:05 -07:00
icom.h do not truncate irq number for icom adapter 2007-04-24 08:23:08 -07:00
imx.c [ARM] 4481/1: Fix a bug when i.MX is compiled as a module 2007-07-20 09:55:14 +01:00
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.c m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio_reg.h
Makefile zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
mcf.c m68knommu: new style ColdFire UART driver 2007-10-23 08:32:34 -07:00
mcfserial.c [PATCH] m68knommu: fix work queues in mcfserial.c driver 2007-03-06 18:08:38 -08:00
mcfserial.h
mpc52xx_uart.c mpc52xx-uart: fix compile warning (format type mismatch) 2007-10-14 08:57:30 -07:00
mpsc.c serial: MPSC: Fix coding style and whitespace issues 2007-07-31 15:39:41 -07:00
mux.c
netx-serial.c
of_serial.c [POWERPC] of_serial: add port type checking 2007-07-10 21:53:42 +10:00
pmac_zilog.c [POWERPC] Optionally use new device number for pmac_zilog 2007-09-22 14:49:21 +10:00
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 Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sa1100.c
sb1250-duart.c BCM1480 serial build fix 2007-09-11 17:21:19 -07:00
serial_core.c serial: stop passing NULL to functions that expect data 2007-10-25 12:18:40 -07:00
serial_cs.c netdrvr/pcmcia: use IRQ_TYPE_DYNAMIC_SHARING flag for irq.Attributes. 2007-10-29 06:07:05 -04:00
serial_ks8695.c [ARM] 4411/1: KS8695: Another serial driver fix 2007-05-30 13:15:19 +01:00
serial_lh7a40x.c
serial_txx9.c serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh-sci.c serial: sh-sci: kgdb console build fixes. 2007-09-21 11:57:53 +09:00
sh-sci.h sh: Remove SCI_NPORTS from sh-sci.h 2007-11-07 14:54:32 +09:00
sn_console.c sn_console section mismatch warning 2007-07-16 09:05:53 -07:00
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 [SERIAL] sunzilog: Interrupt enable before ISR handler installed 2007-05-09 13:49:04 -07:00
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 serial: fix vr41xx_siu serial console support 2007-07-31 15:39:41 -07:00
zs.c zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
zs.h zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00