OpenCloudOS-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 [PATCH] USB Serial: rename ChangeLog.old 2005-11-17 11:29:52 -08:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 USB: ark3116: Formatting cleanups 2006-09-27 11:58:49 -07:00
belkin_sa.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
belkin_sa.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
console.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
cp2101.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
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 [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable 2006-03-20 14:50:00 -08:00
digi_acceleport.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
empeg.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
ezusb.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
ezusb_convert.pl Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
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 [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
io_16654.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_edgeport.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
io_edgeport.h [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
io_fw_boot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_fw_boot2.h [PATCH] USB: mark various usb tables const 2006-01-04 13:51:40 -08:00
io_fw_down.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_fw_down2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_fw_down3.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_ionsp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_tables.h [PATCH] USB Serial: move name to driver structure 2005-10-28 16:47:48 -07:00
io_ti.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
io_ti.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_usbvend.h [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
ipaq.c USB: another device ID for ipaq 2006-09-28 15:36:43 -07:00
ipaq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
keyspan.h [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
keyspan_mpr_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_pda.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa18x_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19qi_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19qw_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19w_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa26msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28x_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28xa_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28xb_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa49msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa49w_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa49wlc_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa90msg.h [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
kl5kusb105.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
kl5kusb105.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kobil_sct.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
kobil_sct.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mct_u232.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
mct_u232.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mos7840.c USB: Moschip 7840 USB-Serial Driver 2006-09-27 11:58:59 -07:00
navman.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
omninet.c usb-serial: possible irq lock inversion (PPP vs. usb/serial) 2006-09-28 15:36:43 -07:00
option.c USB: Removed 3-port device handler from Option driver 2006-08-02 16:41:41 -07:00
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 [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
ti_fw_3410.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ti_fw_5052.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ti_usb_3410_5052.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
ti_usb_3410_5052.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb-serial.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
visor.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
visor.h [PATCH] USB: visor.c id for gspda smartphone 2006-02-28 12:42:07 -08:00
whiteheat.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
whiteheat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
whiteheat_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xircom_pgs.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xircom_pgs_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00