summaryrefslogtreecommitdiff
path: root/drivers/char/pcmcia
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-10-02 02:17:18 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 07:57:14 -0700
commitb68e31d0ebbcc909d1941f9f230c9d062a3a13d3 (patch)
treeb32902e5de02081cbb9eca49d7bb0b444e2b4f23 /drivers/char/pcmcia
parented97bd37efd8ff7398d3a7eedf4bcbf245f5dad3 (diff)
[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>
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r--drivers/char/pcmcia/synclink_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c
index 00f574cbb0d4..dd845cbefe94 100644
--- a/drivers/char/pcmcia/synclink_cs.c
+++ b/drivers/char/pcmcia/synclink_cs.c
@@ -3010,7 +3010,7 @@ static struct pcmcia_driver mgslpc_driver = {
.resume = mgslpc_resume,
};
-static struct tty_operations mgslpc_ops = {
+static const struct tty_operations mgslpc_ops = {
.open = mgslpc_open,
.close = mgslpc_close,
.write = mgslpc_write,
option> Unnamed repository; edit this file to name it for gitweb.root
summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Expand)AuthorFilesLines
2018-06-03update translations for 6.0.5 rc1cp-6.0-6cp-6.0-5cp-6.0-3Christian Lohmaier259-1375/+3131
2018-06-03add Frisian translationChristian Lohmaier150-0/+197881
2018-06-03update translations for 6.0.5 rc1Christian Lohmaier143-1606/+1591
2018-06-03update translations for 6.0.4 rc2Christian Lohmaier210-6169/+5258
2018-04-26update translations for 6.0.4 rc1cp-6.0-2Christian Lohmaier253-13913/+10226
2018-04-26update translations for 6.0.3 rc2Christian Lohmaier161-3231/+2567
2018-04-26update translations for 6.0.3 rc1Christian Lohmaier650-6566/+6373
2018-03-08followup of core 12a80d5 for Sloveniancp-6.0-branch-pointAndras Timar1-1/+1
2018-02-25Updated Slovenian translationAndras Timar4-14/+14
2018-02-22update translations for 6.0.2 rc1Christian Lohmaier718-129684/+137151
2018-02-17Updated Slovenian translationAndras Timar7-1384/+1439
2018-02-08update translations for 6.0Christian Lohmaier420-9661/+8359
2018-01-24update translations for 6.0.0 rc3Christian Lohmaier501-16700/+13747
2018-01-17update translations after another de-fuzzying roundChristian Lohmaier1494-26316/+1330
2018-01-15update translations after first de-fuzzying roundChristian Lohmaier3272-224093/+14153
2018-01-10update translations for 6.0 rc2Christian Lohmaier1152-83636/+67632
2018-01-03Updated Slovenian translationAndras Timar19-235/+251
2017-12-21Updated Slovenian translationsAndras Timar1-13/+13
2017-12-20Updated Slovenian translationAndras Timar11-294/+4091
2017-12-20update translations for 6.0 rc1Christian Lohmaier1875-117341/+604955
2017-12-20Updated Slovenian translationAndras Timar27-1142/+1623
2017-12-18update translations for 6.0/masterChristian Lohmaier4166-354536/+699155
2017-12-12resurrect some translated strings via compendiumChristian Lohmaier2588-156024/+311864
2017-12-12update translationsChristian Lohmaier367-14115/+13078
2017-12-08Updated Slovenian translationsAndras Timar15-1542/+2259
2017-12-07update translations for 6.0 beta2Christian Lohmaier1714-380738/+445109
2017-12-03Updated Slovenian translationAndras Timar18-2721/+2936
2017-11-24Updated Slovenian translationAndras Timar17-591/+825
2017-11-24another set of translation updates for 6.0 beta1libreoffice-6-0-branch-pointChristian Lohmaier814-24823/+28475
2017-11-24remove hu-Hung as it doesn't contain any translation in the first placeChristian Lohmaier140-216230/+0
2017-11-24update sr and sr-Latn to current templatesChristian Lohmaier300-186003/+179863
2017-11-22update translations for 6.0 beta1Christian Lohmaier