original_kernel/drivers/usb/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
..
ChangeLog.history
Kconfig USB: Moschip 7840 USB-Serial Driver 2006-09-27 11:58:59 -07:00
Makefile USB: Moschip 7840 USB-Serial Driver 2006-09-27 11:58:59 -07:00
Makefile-keyspan_pda_fw
aircable.c aircable: fix printk format warnings 2006-09-27 11:58:59 -07:00
airprime.c USB: Airprime driver improvements to allow full speed EvDO transfers 2006-09-27 11:59:00 -07:00
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
console.c
cp2101.c
cyberjack.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
cypress_m8.c cypress_m8: implement graceful failure handling 2006-09-27 11:58:59 -07:00
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb.c
ezusb_convert.pl
ftdi_sio.c USB: add SeaLevel 2106 SeaLINK support to ftdi_sio 2006-09-28 15:36:43 -07:00
ftdi_sio.h USB: add SeaLevel 2106 SeaLINK support to ftdi_sio 2006-09-28 15:36:43 -07:00
funsoft.c
garmin_gps.c USB: garmin_gps support for new generation of gps receivers 2006-09-27 11:58:52 -07:00
generic.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
hp4x.c
io_16654.h
io_edgeport.c
io_edgeport.h
io_fw_boot.h
io_fw_boot2.h
io_fw_down.h
io_fw_down2.h
io_fw_down3.h
io_ionsp.h
io_tables.h
io_ti.c
io_ti.h
io_usbvend.h
ipaq.c USB: another device ID for ipaq 2006-09-28 15:36:43 -07:00
ipaq.h
ipw.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
ir-usb.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
keyspan.c
keyspan.h
keyspan_mpr_fw.h
keyspan_pda.S
keyspan_pda.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
keyspan_pda_fw.h
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa90msg.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
mct_u232.c
mct_u232.h
mos7840.c USB: Moschip 7840 USB-Serial Driver 2006-09-27 11:58:59 -07:00
navman.c
omninet.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
option.c
pl2303.c USB: Add vendor / product ID to pl2303 2006-09-28 15:36:42 -07:00
pl2303.h USB: Add vendor / product ID to pl2303 2006-09-28 15:36:42 -07:00
safe_serial.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
sierra.c
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c
ti_usb_3410_5052.h
usb-serial.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
visor.c
visor.h
whiteheat.c
whiteheat.h
whiteheat_fw.h
xircom_pgs.S
xircom_pgs_fw.h