android_kernel_xiaomi_sm8350/drivers/usb/gadget
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
..
at91_udc.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-09-28 14:40:39 -07:00
at91_udc.h USB: AT91 UDC updates, mostly power management 2006-08-02 16:41:41 -07:00
config.c
dummy_hcd.c USB: dummy-hcd: fix "warn-unused-result" messages 2006-09-28 15:36:45 -07:00
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c USB: ethernet gadget avoids zlps for musb_hdrc 2006-09-27 11:58:56 -07:00
file_storage.c USB: g_file_storage: Set sense info Valid bit only when needed 2006-09-28 15:36:47 -07:00
gadget_chips.h
gmidi.c USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
goku_udc.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
goku_udc.h
inode.c [PATCH] Vectorize aio_read/aio_write fileop methods 2006-10-01 00:39:28 -07:00
Kconfig USB: fix typo in drivers/usb/gadget/Kconfig 2006-09-27 11:58:55 -07:00
lh7a40x_udc.c [ARM] Fix lh7a40x_udc.c 2006-07-03 15:32:47 +01:00
lh7a40x_udc.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
ndis.h
net2280.c USB: net2280: update dma buffer allocation 2006-09-27 11:58:57 -07:00
net2280.h
omap_udc.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
omap_udc.h
pxa2xx_udc.c USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
pxa2xx_udc.h USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
rndis.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
rndis.h [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
serial.c [PATCH] const struct tty_operations 2006-10-02 07:57:14 -07:00
usbstring.c
zero.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00