kernel_optimize_test/drivers/s390/char
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
..
con3215.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
con3270.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ctrlchar.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
ctrlchar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defkeymap.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
defkeymap.map Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fs3270.c [S390] remove unnecessary includes. 2006-09-28 16:55:33 +02:00
keyboard.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
keyboard.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
Makefile [S390] Linux API for writing z/VM APPLDATA Monitor records. 2006-09-20 15:59:34 +02:00
monreader.c [PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer needed 2006-06-26 12:25:08 -07:00
monwriter.c [S390] Linux API for writing z/VM APPLDATA Monitor records. 2006-09-20 15:59:34 +02:00
raw3270.c [S390] sysfs_create_xxx return values. 2006-07-18 13:46:58 +02:00
raw3270.h [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
sclp_con.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sclp_cpi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sclp_quiesce.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sclp_rw.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sclp_rw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sclp_tty.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
sclp_tty.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sclp_vt220.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
sclp.c [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00
sclp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tape_34xx.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
tape_3590.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tape_3590.h [PATCH] s390: 3590 tape driver 2006-03-24 07:33:18 -08:00
tape_block.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tape_char.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tape_class.c [S390] tape class return value handling. 2006-08-07 17:00:28 +02:00
tape_class.h [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
tape_core.c [S390] sysfs_create_xxx return values. 2006-07-18 13:46:58 +02:00
tape_proc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tape_std.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tape_std.h [PATCH] s390: tape 3590 changes 2006-04-28 08:33:48 -07:00
tape.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tty3270.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
vmcp.c [S390] fix typo in vmcp. 2006-09-20 15:59:24 +02:00
vmcp.h [S390] fix typo in vmcp. 2006-09-20 15:59:24 +02:00
vmlogrdr.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
vmwatchdog.c [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00