linux/drivers
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
..
acorn
acpi [PATCH] maximum latency tracking infrastructure 2006-10-01 00:39:19 -07:00
amba
ata
atm
base [PATCH] hot-add-mem x86_64: use CONFIG_MEMORY_HOTPLUG_SPARSE 2006-10-01 00:39:18 -07:00
block [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
bluetooth [Bluetooth] Code cleanup for the HCI UART driver 2006-09-28 18:01:30 -07:00
cdrom [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
char [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4 [PATCH] Remove ->rq_status from struct request 2006-09-30 20:29:23 +02:00
firmware [PATCH] DMI: Decode and save OEM String information 2006-09-29 09:18:09 -07:00
hwmon [PATCH] hdaps: support Lenovo ThinkPad T60 2006-10-01 00:39:24 -07:00
i2c [PATCH] proper flags type of spin_lock_irqsave() 2006-10-01 00:39:21 -07:00
ide [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
ieee1394 Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 2006-09-30 09:38:19 -07:00
infiniband [PATCH] r/o bind mount prepwork: inc_nlink() helper 2006-10-01 00:39:30 -07:00
input [PATCH] update legacy io handling for pmac 2006-10-01 00:39:23 -07:00
isdn [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
leds [PATCH] leds: turn LED off when changing triggers 2006-10-01 00:39:21 -07:00
macintosh [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
mca
md [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
media [PATCH] Generic boolean 2006-10-01 00:39:18 -07:00
message [PATCH] i2o: Switch to pci_get API 2006-10-01 00:39:23 -07:00
mfd [PATCH] ucb1x00-ts: handle errors from input_register_device() 2006-09-29 09:18:10 -07:00
misc
mmc [PATCH] mmc (mainly): add "or later" clause to licence statement. 2006-10-01 00:39:23 -07:00
mtd [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
net [PATCH] file: modify struct fown_struct to use a struct pid 2006-10-02 07:57:14 -07:00
nubus
oprofile
parisc
parport [PATCH] update legacy io handling for pmac 2006-10-01 00:39:23 -07:00
pci [PATCH] PCI quirks update 2006-10-01 00:39:17 -07:00
pcmcia pccard_store_cis: fix wrong error handling 2006-10-01 13:17:44 -07:00
pnp [PATCH] update legacy io handling for pmac 2006-10-01 00:39:23 -07:00
rapidio
rtc [PATCH] rtc-sysfs fix 2006-10-01 10:39:01 -07:00
s390 [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
sbus [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
scsi [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
serial [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
sh
sn
spi
tc [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
telephony
usb [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
video Merge branch 'intelfb-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/intelfb-2.6 2006-09-30 09:36:56 -07:00
w1
zorro
Kconfig
Makefile