linux-stable-rt/drivers/serial
Jeff Dike b68e31d0eb [PATCH] const struct tty_operations
As part of an SMP cleanliness pass over UML, I consted a bunch of
structures in order to not have to document their locking.  One of these
structures was a struct tty_operations.  In order to const it in UML
without introducing compiler complaints, the declaration of
tty_set_operations needs to be changed, and then all of its callers need to
be fixed.

This patch declares all struct tty_operations in the tree as const.  In all
cases, they are static and used only as input to tty_set_operations.  As an
extra check, I ran an i386 allyesconfig build which produced no extra
warnings.

53 drivers are affected.  I checked the history of a bunch of them, and in
most cases, there have been only a handful of maintenance changes in the
last six months.  serial_core.c was the busiest one that I looked at.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:14 -07:00
..
cpm_uart
jsm
8250.c
8250.h
8250_accent.c
8250_acorn.c [PATCH] ioremap balanced with iounmap for drivers/serial/8250_acorn,c 2006-10-01 00:39:32 -07:00
8250_au1x00.c
8250_boca.c
8250_early.c
8250_fourport.c
8250_gsc.c [PATCH] ioremap balanced with iounmap for drivers/serial/8250_gsc.c 2006-10-01 00:39:32 -07:00
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c
21285.c
68328serial.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
68328serial.h
68360serial.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
Kconfig
Makefile
amba-pl010.c
amba-pl011.c
at91_serial.c
clps711x.c
crisv10.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
crisv10.h
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c [PATCH] ioremap balanced with iounmap for drivers/serial/ioc4_serial.c 2006-10-01 00:39:32 -07:00
ip22zilog.c [PATCH] ioremap balanced with iounmap for drivers/serial/ip22zilog.c 2006-10-01 00:39:32 -07:00
ip22zilog.h
m32r_sio.c
m32r_sio.h
m32r_sio_reg.h
mcfserial.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
mcfserial.h
mpc52xx_uart.c [PATCH] ioremap balanced with iounmap for drivers/serial/mpc52xx_uart.c 2006-10-01 00:39:32 -07:00
mpsc.c [PATCH] ioremap balanced with iounmap for drivers/serial/mpsc.c 2006-10-01 00:39:32 -07:00
mux.c [PATCH] ioremap balanced with iounmap for drivers/serial/mux.c 2006-10-01 00:39:32 -07:00
netx-serial.c
pmac_zilog.c
pmac_zilog.h
pxa.c
s3c2410.c
sa1100.c
serial_core.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
serial_cs.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c
sh-sci.h
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c
sunsab.h
sunsu.c [PATCH] ioremap balanced with iounmap for drivers/serial/sunsu.c 2006-10-01 00:39:32 -07:00
sunzilog.c [SERIAL] sunzilog: Mark sunzilog_init_hw as __devinit. 2006-09-29 16:12:43 -07:00
sunzilog.h
v850e_uart.c
vr41xx_siu.c