android_kernel_xiaomi_sm8350/drivers/serial
David S. Miller fb445ee5f9 [SERIAL]: Fix section mismatches in Sun serial console drivers.
We're exporting an __init function, oops :-)

The core issue here is that add_preferred_console() is marked
as __init, this makes it impossible to invoke this thing from
a driver probe routine which is what the Sparc serial drivers
need to do.

There is no harm in dropping the __init marker.  This code will
actually work properly when invoked from a modular driver,
except that init will probably not pick up the console change
without some other support code.

Then we can drop the __init from sunserial_console_match()
and we're no longer exporting an __init function to modules.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-12-29 01:19:49 -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_accent.c
8250_acorn.c
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
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
8250.c
8250.h
21285.c
68328serial.c
68328serial.h
68360serial.c
amba-pl010.c
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
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: 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
Makefile
mcf.c m68knommu: new style ColdFire UART driver 2007-10-23 08:32:34 -07:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c mpc52xx-uart: fix compile warning (format type mismatch) 2007-10-14 08:57:30 -07:00
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 Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sa1100.c
sb1250-duart.c
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
serial_lh7a40x.c
serial_txx9.c serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh-sci.c
sh-sci.h sh: Remove SCI_NPORTS from sh-sci.h 2007-11-07 14:54:32 +09:00
sn_console.c
suncore.c [SERIAL]: Fix section mismatches in Sun serial console drivers. 2007-12-29 01:19:49 -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