b68e31d0eb
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> |
||
---|---|---|
.. | ||
aircable.c | ||
airprime.c | ||
ark3116.c | ||
belkin_sa.c | ||
belkin_sa.h | ||
bus.c | ||
ChangeLog.history | ||
console.c | ||
cp2101.c | ||
cyberjack.c | ||
cypress_m8.c | ||
cypress_m8.h | ||
digi_acceleport.c | ||
empeg.c | ||
ezusb_convert.pl | ||
ezusb.c | ||
ftdi_sio.c | ||
ftdi_sio.h | ||
funsoft.c | ||
garmin_gps.c | ||
generic.c | ||
hp4x.c | ||
io_16654.h | ||
io_edgeport.c | ||
io_edgeport.h | ||
io_fw_boot2.h | ||
io_fw_boot.h | ||
io_fw_down2.h | ||
io_fw_down3.h | ||
io_fw_down.h | ||
io_ionsp.h | ||
io_tables.h | ||
io_ti.c | ||
io_ti.h | ||
io_usbvend.h | ||
ipaq.c | ||
ipaq.h | ||
ipw.c | ||
ir-usb.c | ||
Kconfig | ||
keyspan_mpr_fw.h | ||
keyspan_pda_fw.h | ||
keyspan_pda.c | ||
keyspan_pda.S | ||
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 | ||
keyspan.c | ||
keyspan.h | ||
kl5kusb105.c | ||
kl5kusb105.h | ||
kobil_sct.c | ||
kobil_sct.h | ||
Makefile | ||
Makefile-keyspan_pda_fw | ||
mct_u232.c | ||
mct_u232.h | ||
mos7840.c | ||
navman.c | ||
omninet.c | ||
option.c | ||
pl2303.c | ||
pl2303.h | ||
safe_serial.c | ||
sierra.c | ||
ti_fw_3410.h | ||
ti_fw_5052.h | ||
ti_usb_3410_5052.c | ||
ti_usb_3410_5052.h | ||
usb-serial.c | ||
visor.c | ||
visor.h | ||
whiteheat_fw.h | ||
whiteheat.c | ||
whiteheat.h | ||
xircom_pgs_fw.h | ||
xircom_pgs.S |