kernel-hacking-2024-linux-s.../drivers/tty/serial
Felipe Balbi c990f35103 serial: omap: define and use to_uart_omap_port()
current code only works because struct uart_port
is the first member on the uart_omap_port structure.

If, for whatever reason, someone puts another
member as the first of the structure, that cast
won't work anymore. In order to be safe, let's use
a container_of() which, for now, gets optimized into
a cast anyway.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-05 13:26:10 -07:00
..
8250 parport_serial: Add support for the WCH353 2S/1P multi-IO card 2012-09-05 13:18:13 -07:00
cpm_uart
jsm tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
21285.c
68328serial.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
altera_jtaguart.c
altera_uart.c tty: serial: altera_uart: Use platform_{get,set}_drvdata 2012-09-05 12:33:39 -07:00
amba-pl010.c drivers/tty/serial/amba-pl0{10,11}.c: use clk_prepare_enable and clk_disable_unprepare 2012-09-05 12:33:39 -07:00
amba-pl011.c serial: pl011: honour serial aliases in device tree 2012-09-05 13:18:12 -07:00
apbuart.c
apbuart.h
ar933x_uart.c
atmel_serial.c
bcm63xx_uart.c
bfin_sport_uart.c
bfin_sport_uart.h
bfin_uart.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
clps711x.c
crisv10.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
crisv10.h
dz.c
dz.h
efm32-uart.c
icom.c
icom.h
ifx6x60.c Merge 3.6-rc3 into tty-next 2012-08-27 07:13:33 -07:00
ifx6x60.h
imx.c serial/imx: improve error diagnosics for clock and pinctrl failures 2012-09-05 13:15:07 -07:00
ioc3_serial.c
ioc4_serial.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
ip22zilog.c
ip22zilog.h
Kconfig serial: New serial driver SCCNXP 2012-09-05 13:21:46 -07:00
kgdboc.c
lantiq.c SERIAL: MIPS: lantiq: implement OF support 2012-05-21 14:31:54 +01:00
lpc32xx_hs.c serial: Add driver for LPC32xx High Speed UARTs 2012-06-12 15:48:01 -07:00
m32r_sio.c m32r_sio: remove dependency on struct serial_uart_config 2012-09-05 13:15:07 -07:00
m32r_sio.h
m32r_sio_reg.h
Makefile serial: New serial driver SCCNXP 2012-09-05 13:21:46 -07:00
max310x.c tty: serial: max310x: Remove explicit use of devm_kfree 2012-09-05 12:33:40 -07:00
max3100.c tty: max3100: use module_spi_driver 2012-09-05 12:33:39 -07:00
mcf.c
mfd.c
mpc52xx_uart.c tty: serial: mpc5xxx: add support for mark/space parity 2012-09-05 12:41:57 -07:00
mpsc.c
mrst_max3110.c
mrst_max3110.h
msm_serial.c
msm_serial.h
msm_serial_hs.c
msm_smd_tty.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
mux.c
mxs-auart.c serial: mxs-auart: fix the wrong RTS hardware flow control 2012-08-16 12:15:33 -07:00
netx-serial.c
nwpserial.c
of_serial.c serial/of-serial: Add LPC3220 standard UART compatible string 2012-07-26 13:37:02 -07:00
omap-serial.c serial: omap: define and use to_uart_omap_port() 2012-09-05 13:26:10 -07:00
pch_uart.c pch_uart: check kzalloc result in dma_handle_tx() 2012-08-16 12:10:16 -07:00
pmac_zilog.c pmac_zilog,kdb: Fix console poll hook to return instead of loop 2012-08-16 12:20:20 -07:00
pmac_zilog.h
pnx8xxx_uart.c
pxa.c serial: pxa: add spin lock for console write 2012-06-15 15:04:49 -07:00
sa1100.c
samsung.c serial: Samsung: Silence some checkpatch errors and warnings 2012-09-05 13:18:13 -07:00
samsung.h
sb1250-duart.c SERIAL: MIPS Swarm sb1250-duart.c driver needs module.h 2012-05-15 17:48:50 +02:00
sc26xx.c serial: Add note about migration to driver SCCNXP 2012-09-05 13:24:40 -07:00
sccnxp.c serial: New serial driver SCCNXP 2012-09-05 13:21:46 -07:00
serial_core.c tty: Split the serial_core helpers for setserial into two 2012-09-05 13:11:03 -07:00
serial_ks8695.c
serial_txx9.c serial: fix serial_txx9.c build warning/typo 2012-06-12 15:41:18 -07:00
sh-sci.c serial: sh-sci: fix compilation breakage, when DMA is enabled 2012-08-01 13:48:54 +09:00
sh-sci.h
sirfsoc_uart.c drivers/tty/serial/sirfsoc_uart.c: drop frees of devm_ alloc'd data 2012-09-05 12:41:57 -07:00
sirfsoc_uart.h
sn_console.c
suncore.c
sunhv.c
sunsab.c
sunsab.h
sunsu.c serial: diminish usage of struct serial_uart_config 2012-09-05 13:15:07 -07:00
sunzilog.c
sunzilog.h
timbuart.c
timbuart.h
uartlite.c uartlite: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:39:42 -04:00
ucc_uart.c
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c
zs.c SERIAL: MIPS DECstation zs.c driver needs module.h 2012-05-15 17:48:50 +02:00
zs.h