diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 23:36:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 23:36:17 -0400 |
commit | c00046c279a2521075250fad682ca0acc10d4fd7 (patch) | |
tree | 78a7e9089c26f199ad9b0161bb564b7c1ca6daf9 /drivers/char | |
parent | 9abbf7d028b1598b40ebdc81c48f30da7f3d5bf5 (diff) | |
parent | 8e8a1407ac23b43cec0412338c1b4f5e1c664550 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (74 commits)
fix do_sys_open() prototype
sysfs: trivial: fix sysfs_create_file kerneldoc spelling mistake
Documentation: Fix typo in SubmitChecklist.
Typo: depricated -> deprecated
Add missing profile=kvm option to Documentation/kernel-parameters.txt
fix typo about TBI in e1000 comment
proc.txt: Add /proc/stat field
small documentation fixes
Fix compiler warning in smount example program from sharedsubtree.txt
docs/sysfs: add missing word to sysfs attribute explanation
documentation/ext3: grammar fixes
Documentation/java.txt: typo and grammar fixes
Documentation/filesystems/vfs.txt: typo fix
include/asm-*/system.h: remove unused set_rmb(), set_wmb() macros
trivial copy_data_pages() tidy up
Fix typo in arch/x86/kernel/tsc_32.c
file link fix for Pegasus USB net driver help
remove unused return within void return function
Typo fixes retrun -> return
x86 hpet.h: remove broken links
...
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/cyclades.c | 4 | ||||
-rw-r--r-- | drivers/char/drm/drm_hashtab.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/drm_hashtab.h | 2 | ||||
-rw-r--r-- | drivers/char/drm/drm_mm.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/drm_pci.c | 4 | ||||
-rw-r--r-- | drivers/char/drm/drm_sarea.h | 2 | ||||
-rw-r--r-- | drivers/char/drm/drm_sman.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/drm_sman.h | 2 | ||||
-rw-r--r-- | drivers/char/drm/r128_drv.h | 2 | ||||
-rw-r--r-- | drivers/char/drm/radeon_irq.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/radeon_state.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/sis_mm.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/via_mm.c | 2 | ||||
-rw-r--r-- | drivers/char/drm/via_verifier.h | 2 | ||||
-rw-r--r-- | drivers/char/esp.c | 2 | ||||
-rw-r--r-- | drivers/char/hw_random/omap-rng.c | 2 | ||||
-rw-r--r-- | drivers/char/i8k.c | 14 | ||||
-rw-r--r-- | drivers/char/n_tty.c | 4 | ||||
-rw-r--r-- | drivers/char/rocket.c | 2 | ||||
-rw-r--r-- | drivers/char/sonypi.c | 2 | ||||
-rw-r--r-- | drivers/char/tty_io.c | 8 | ||||
-rw-r--r-- | drivers/char/tty_ioctl.c | 2 |
22 files changed, 33 insertions, 35 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index d15234c5965e..d1bd0f08a331 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c | |||
@@ -359,7 +359,7 @@ | |||
359 | * | 359 | * |
360 | * Revision 1.36.3.8 1996/06/07 16:29:00 bentson | 360 | * Revision 1.36.3.8 1996/06/07 16:29:00 bentson |
361 | * starting minor number at zero; added missing verify_area | 361 | * starting minor number at zero; added missing verify_area |
362 | * as noted by Heiko Eissfeldt <heiko@colossus.escape.de> | 362 | * as noted by Heiko Eißfeldt <heiko@colossus.escape.de> |
363 | * | 363 | * |
364 | * Revision 1.36.3.7 1996/04/19 21:06:18 bentson | 364 | * Revision 1.36.3.7 1996/04/19 21:06:18 bentson |
365 | * remove unneeded boot message & fix CLOCAL hardware flow | 365 | * remove unneeded boot message & fix CLOCAL hardware flow |
@@ -727,8 +727,6 @@ static struct tty_driver *cy_serial_driver; | |||
727 | driver to probe addresses at a different address, add it to | 727 | driver to probe addresses at a different address, add it to |
728 | this table. If the driver is probing some other board and | 728 | this table. If the driver is probing some other board and |
729 | causing problems, remove the offending address from this table. | 729 | causing problems, remove the offending address from this table. |
730 | The cy_setup function extracts additional addresses from the | ||
731 | boot options line. The form is "cyclades=address,address..." | ||
732 | */ | 730 | */ |
733 | 731 | ||
734 | static unsigned int cy_isa_addresses[] = { | 732 | static unsigned int cy_isa_addresses[] = { |
diff --git a/drivers/char/drm/drm_hashtab.c b/drivers/char/drm/drm_hashtab.c index 3ad319070704..4b8e7db5a232 100644 --- a/drivers/char/drm/drm_hashtab.c +++ b/drivers/char/drm/drm_hashtab.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * Simple open hash tab implementation. | 29 | * Simple open hash tab implementation. |
30 | * | 30 | * |
31 | * Authors: | 31 | * Authors: |
32 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 32 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "drmP.h" | 35 | #include "drmP.h" |
diff --git a/drivers/char/drm/drm_hashtab.h b/drivers/char/drm/drm_hashtab.h index 0f1376774168..573e333ac457 100644 --- a/drivers/char/drm/drm_hashtab.h +++ b/drivers/char/drm/drm_hashtab.h | |||
@@ -29,7 +29,7 @@ | |||
29 | * Simple open hash tab implementation. | 29 | * Simple open hash tab implementation. |
30 | * | 30 | * |
31 | * Authors: | 31 | * Authors: |
32 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 32 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #ifndef DRM_HASHTAB_H | 35 | #ifndef DRM_HASHTAB_H |
diff --git a/drivers/char/drm/drm_mm.c b/drivers/char/drm/drm_mm.c index 3e6bc14f7441..86f4eb61a6a4 100644 --- a/drivers/char/drm/drm_mm.c +++ b/drivers/char/drm/drm_mm.c | |||
@@ -38,7 +38,7 @@ | |||
38 | * Aligned allocations can also see improvement. | 38 | * Aligned allocations can also see improvement. |
39 | * | 39 | * |
40 | * Authors: | 40 | * Authors: |
41 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 41 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "drmP.h" | 44 | #include "drmP.h" |
diff --git a/drivers/char/drm/drm_pci.c b/drivers/char/drm/drm_pci.c index e292bb0eaca2..b55d5bc6ea61 100644 --- a/drivers/char/drm/drm_pci.c +++ b/drivers/char/drm/drm_pci.c | |||
@@ -8,12 +8,12 @@ | |||
8 | * \todo Implement the remaining ioctl's for the PCI pools. | 8 | * \todo Implement the remaining ioctl's for the PCI pools. |
9 | * \todo The wrappers here are so thin that they would be better off inlined.. | 9 | * \todo The wrappers here are so thin that they would be better off inlined.. |
10 | * | 10 | * |
11 | * \author Jose Fonseca <jrfonseca@tungstengraphics.com> | 11 | * \author José Fonseca <jrfonseca@tungstengraphics.com> |
12 | * \author Leif Delgass <ldelgass@retinalburn.net> | 12 | * \author Leif Delgass <ldelgass@retinalburn.net> |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /* | 15 | /* |
16 | * Copyright 2003 Jos�Fonseca. | 16 | * Copyright 2003 José Fonseca. |
17 | * Copyright 2003 Leif Delgass. | 17 | * Copyright 2003 Leif Delgass. |
18 | * All Rights Reserved. | 18 | * All Rights Reserved. |
19 | * | 19 | * |
diff --git a/drivers/char/drm/drm_sarea.h b/drivers/char/drm/drm_sarea.h index f5466966081e..e040f47f369f 100644 --- a/drivers/char/drm/drm_sarea.h +++ b/drivers/char/drm/drm_sarea.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * \file drm_sarea.h | 2 | * \file drm_sarea.h |
3 | * \brief SAREA definitions | 3 | * \brief SAREA definitions |
4 | * | 4 | * |
5 | * \author Michel Dänzer <michel@daenzer.net> | 5 | * \author Michel Dänzer <michel@daenzer.net> |
6 | */ | 6 | */ |
7 | 7 | ||
8 | /* | 8 | /* |
diff --git a/drivers/char/drm/drm_sman.c b/drivers/char/drm/drm_sman.c index 8421a93946d8..926f146390ce 100644 --- a/drivers/char/drm/drm_sman.c +++ b/drivers/char/drm/drm_sman.c | |||
@@ -33,7 +33,7 @@ | |||
33 | * struct or a context identifier. | 33 | * struct or a context identifier. |
34 | * | 34 | * |
35 | * Authors: | 35 | * Authors: |
36 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 36 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "drm_sman.h" | 39 | #include "drm_sman.h" |
diff --git a/drivers/char/drm/drm_sman.h b/drivers/char/drm/drm_sman.h index 39a39fefeef1..08ecf83ad5d4 100644 --- a/drivers/char/drm/drm_sman.h +++ b/drivers/char/drm/drm_sman.h | |||
@@ -33,7 +33,7 @@ | |||
33 | * struct or a context identifier. | 33 | * struct or a context identifier. |
34 | * | 34 | * |
35 | * Authors: | 35 | * Authors: |
36 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 36 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
37 | */ | 37 | */ |
38 | 38 | ||
39 | #ifndef DRM_SMAN_H | 39 | #ifndef DRM_SMAN_H |
diff --git a/drivers/char/drm/r128_drv.h b/drivers/char/drm/r128_drv.h index 250d2aa46581..5041bd8dbed8 100644 --- a/drivers/char/drm/r128_drv.h +++ b/drivers/char/drm/r128_drv.h | |||
@@ -29,7 +29,7 @@ | |||
29 | * Rickard E. (Rik) Faith <faith@valinux.com> | 29 | * Rickard E. (Rik) Faith <faith@valinux.com> |
30 | * Kevin E. Martin <martin@valinux.com> | 30 | * Kevin E. Martin <martin@valinux.com> |
31 | * Gareth Hughes <gareth@valinux.com> | 31 | * Gareth Hughes <gareth@valinux.com> |
32 | * Michel D�zer <daenzerm@student.ethz.ch> | 32 | * Michel Dänzer <daenzerm@student.ethz.ch> |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #ifndef __R128_DRV_H__ | 35 | #ifndef __R128_DRV_H__ |
diff --git a/drivers/char/drm/radeon_irq.c b/drivers/char/drm/radeon_irq.c index 2b2407ee490e..84f5bc36252b 100644 --- a/drivers/char/drm/radeon_irq.c +++ b/drivers/char/drm/radeon_irq.c | |||
@@ -27,7 +27,7 @@ | |||
27 | * | 27 | * |
28 | * Authors: | 28 | * Authors: |
29 | * Keith Whitwell <keith@tungstengraphics.com> | 29 | * Keith Whitwell <keith@tungstengraphics.com> |
30 | * Michel D�zer <michel@daenzer.net> | 30 | * Michel Dänzer <michel@daenzer.net> |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "drmP.h" | 33 | #include "drmP.h" |
diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 69c9f2febf43..f824f2f5fdc2 100644 --- a/drivers/char/drm/radeon_state.c +++ b/drivers/char/drm/radeon_state.c | |||
@@ -3005,7 +3005,7 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil | |||
3005 | /* | 3005 | /* |
3006 | * This ioctl() doesn't work on 64-bit platforms because hw_lock is a | 3006 | * This ioctl() doesn't work on 64-bit platforms because hw_lock is a |
3007 | * pointer which can't fit into an int-sized variable. According to | 3007 | * pointer which can't fit into an int-sized variable. According to |
3008 | * Michel Dänzer, the ioctl() is only used on embedded platforms, so | 3008 | * Michel Dänzer, the ioctl() is only used on embedded platforms, so |
3009 | * not supporting it shouldn't be a problem. If the same functionality | 3009 | * not supporting it shouldn't be a problem. If the same functionality |
3010 | * is needed on 64-bit platforms, a new ioctl() would have to be added, | 3010 | * is needed on 64-bit platforms, a new ioctl() would have to be added, |
3011 | * so backwards-compatibility for the embedded platforms can be | 3011 | * so backwards-compatibility for the embedded platforms can be |
diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c index 8c66838ff515..6be1c5757580 100644 --- a/drivers/char/drm/sis_mm.c +++ b/drivers/char/drm/sis_mm.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | /* | 29 | /* |
30 | * Authors: | 30 | * Authors: |
31 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 31 | * Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include "drmP.h" | 34 | #include "drmP.h" |
diff --git a/drivers/char/drm/via_mm.c b/drivers/char/drm/via_mm.c index 9afc1684348d..3ffbf8649833 100644 --- a/drivers/char/drm/via_mm.c +++ b/drivers/char/drm/via_mm.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * DEALINGS IN THE SOFTWARE. | 22 | * DEALINGS IN THE SOFTWARE. |
23 | */ | 23 | */ |
24 | /* | 24 | /* |
25 | * Authors: Thomas Hellström <thomas-at-tungstengraphics-dot-com> | 25 | * Authors: Thomas Hellström <thomas-at-tungstengraphics-dot-com> |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include "drmP.h" | 28 | #include "drmP.h" |
diff --git a/drivers/char/drm/via_verifier.h b/drivers/char/drm/via_verifier.h index 28b50296a7bd..d6f8214b69f5 100644 --- a/drivers/char/drm/via_verifier.h +++ b/drivers/char/drm/via_verifier.h | |||
@@ -20,7 +20,7 @@ | |||
20 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | * DEALINGS IN THE SOFTWARE. | 21 | * DEALINGS IN THE SOFTWARE. |
22 | * | 22 | * |
23 | * Author: Thomas Hellström 2004. | 23 | * Author: Thomas Hellström 2004. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #ifndef _VIA_VERIFIER_H_ | 26 | #ifndef _VIA_VERIFIER_H_ |
diff --git a/drivers/char/esp.c b/drivers/char/esp.c index 0f8fb135da53..28607763ae64 100644 --- a/drivers/char/esp.c +++ b/drivers/char/esp.c | |||
@@ -19,7 +19,7 @@ | |||
19 | * | 19 | * |
20 | * rs_set_termios fixed to look also for changes of the input | 20 | * rs_set_termios fixed to look also for changes of the input |
21 | * flags INPCK, BRKINT, PARMRK, IGNPAR and IGNBRK. | 21 | * flags INPCK, BRKINT, PARMRK, IGNPAR and IGNBRK. |
22 | * Bernd Anh�pl 05/17/96. | 22 | * Bernd Anhäupl 05/17/96. |
23 | * | 23 | * |
24 | * --- End of notices from serial.c --- | 24 | * --- End of notices from serial.c --- |
25 | * | 25 | * |
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index e13dd1892bfd..3f35a1c562b1 100644 --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * Mostly based on original driver: | 10 | * Mostly based on original driver: |
11 | * | 11 | * |
12 | * Copyright (C) 2005 Nokia Corporation | 12 | * Copyright (C) 2005 Nokia Corporation |
13 | * Author: Juha Yrj��<juha.yrjola@nokia.com> | 13 | * Author: Juha Yrjölä <juha.yrjola@nokia.com> |
14 | * | 14 | * |
15 | * This file is licensed under the terms of the GNU General Public | 15 | * This file is licensed under the terms of the GNU General Public |
16 | * License version 2. This program is licensed "as is" without any | 16 | * License version 2. This program is licensed "as is" without any |
diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c index cd406416effd..30e564516422 100644 --- a/drivers/char/i8k.c +++ b/drivers/char/i8k.c | |||
@@ -371,14 +371,14 @@ static int i8k_proc_show(struct seq_file *seq, void *offset) | |||
371 | int fn_key, cpu_temp, ac_power; | 371 | int fn_key, cpu_temp, ac_power; |
372 | int left_fan, right_fan, left_speed, right_speed; | 372 | int left_fan, right_fan, left_speed, right_speed; |
373 | 373 | ||
374 | cpu_temp = i8k_get_temp(0); /* 11100 µs */ | 374 | cpu_temp = i8k_get_temp(0); /* 11100 µs */ |
375 | left_fan = i8k_get_fan_status(I8K_FAN_LEFT); /* 580 µs */ | 375 | left_fan = i8k_get_fan_status(I8K_FAN_LEFT); /* 580 µs */ |
376 | right_fan = i8k_get_fan_status(I8K_FAN_RIGHT); /* 580 µs */ | 376 | right_fan = i8k_get_fan_status(I8K_FAN_RIGHT); /* 580 µs */ |
377 | left_speed = i8k_get_fan_speed(I8K_FAN_LEFT); /* 580 µs */ | 377 | left_speed = i8k_get_fan_speed(I8K_FAN_LEFT); /* 580 µs */ |
378 | right_speed = i8k_get_fan_speed(I8K_FAN_RIGHT); /* 580 µs */ | 378 | right_speed = i8k_get_fan_speed(I8K_FAN_RIGHT); /* 580 µs */ |
379 | fn_key = i8k_get_fn_status(); /* 750 µs */ | 379 | fn_key = i8k_get_fn_status(); /* 750 µs */ |
380 | if (power_status) | 380 | if (power_status) |
381 | ac_power = i8k_get_power_status(); /* 14700 µs */ | 381 | ac_power = i8k_get_power_status(); /* 14700 µs */ |
382 | else | 382 | else |
383 | ac_power = -1; | 383 | ac_power = -1; |
384 | 384 | ||
diff --git a/drivers/char/n_tty.c b/drivers/char/n_tty.c index 038056911934..596c7173997b 100644 --- a/drivers/char/n_tty.c +++ b/drivers/char/n_tty.c | |||
@@ -437,7 +437,7 @@ static inline void finish_erasing(struct tty_struct *tty) | |||
437 | * @c: character input | 437 | * @c: character input |
438 | * @tty: terminal device | 438 | * @tty: terminal device |
439 | * | 439 | * |
440 | * Perform erase and neccessary output when an erase character is | 440 | * Perform erase and necessary output when an erase character is |
441 | * present in the stream from the driver layer. Handles the complexities | 441 | * present in the stream from the driver layer. Handles the complexities |
442 | * of UTF-8 multibyte symbols. | 442 | * of UTF-8 multibyte symbols. |
443 | */ | 443 | */ |
@@ -657,7 +657,7 @@ static inline void n_tty_receive_overrun(struct tty_struct *tty) | |||
657 | * @c: character | 657 | * @c: character |
658 | * | 658 | * |
659 | * Process a parity error and queue the right data to indicate | 659 | * Process a parity error and queue the right data to indicate |
660 | * the error case if neccessary. Locking as per n_tty_receive_buf. | 660 | * the error case if necessary. Locking as per n_tty_receive_buf. |
661 | */ | 661 | */ |
662 | static inline void n_tty_receive_parity_error(struct tty_struct *tty, | 662 | static inline void n_tty_receive_parity_error(struct tty_struct *tty, |
663 | unsigned char c) | 663 | unsigned char c) |
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 7e6a3a413bb2..d83419c3857e 100644 --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c | |||
@@ -563,7 +563,7 @@ static void rp_do_poll(unsigned long dummy) | |||
563 | /* Get a ptr to the board's control struct */ | 563 | /* Get a ptr to the board's control struct */ |
564 | ctlp = sCtlNumToCtlPtr(ctrl); | 564 | ctlp = sCtlNumToCtlPtr(ctrl); |
565 | 565 | ||
566 | /* Get the interupt status from the board */ | 566 | /* Get the interrupt status from the board */ |
567 | #ifdef CONFIG_PCI | 567 | #ifdef CONFIG_PCI |
568 | if (ctlp->BusType == isPCI) | 568 | if (ctlp->BusType == isPCI) |
569 | CtlMask = sPCIGetControllerIntStatus(ctlp); | 569 | CtlMask = sPCIGetControllerIntStatus(ctlp); |
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 9782cb4d30dc..877e53dcb996 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * Copyright (C) 2005 Narayanan R S <nars@kadamba.org> | 8 | * Copyright (C) 2005 Narayanan R S <nars@kadamba.org> |
9 | * | 9 | * |
10 | * Copyright (C) 2001-2002 Alcôve <www.alcove.com> | 10 | * Copyright (C) 2001-2002 Alcôve <www.alcove.com> |
11 | * | 11 | * |
12 | * Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au> | 12 | * Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au> |
13 | * | 13 | * |
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 13a53575a016..f36fecd3fd26 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -943,7 +943,7 @@ EXPORT_SYMBOL_GPL(tty_ldisc_deref); | |||
943 | * @tty: terminal to activate ldisc on | 943 | * @tty: terminal to activate ldisc on |
944 | * | 944 | * |
945 | * Set the TTY_LDISC flag when the line discipline can be called | 945 | * Set the TTY_LDISC flag when the line discipline can be called |
946 | * again. Do neccessary wakeups for existing sleepers. | 946 | * again. Do necessary wakeups for existing sleepers. |
947 | * | 947 | * |
948 | * Note: nobody should set this bit except via this function. Clearing | 948 | * Note: nobody should set this bit except via this function. Clearing |
949 | * directly is allowed. | 949 | * directly is allowed. |
@@ -1504,7 +1504,7 @@ EXPORT_SYMBOL(tty_hangup); | |||
1504 | * | 1504 | * |
1505 | * The user has asked via system call for the terminal to be hung up. | 1505 | * The user has asked via system call for the terminal to be hung up. |
1506 | * We do this synchronously so that when the syscall returns the process | 1506 | * We do this synchronously so that when the syscall returns the process |
1507 | * is complete. That guarantee is neccessary for security reasons. | 1507 | * is complete. That guarantee is necessary for security reasons. |
1508 | */ | 1508 | */ |
1509 | 1509 | ||
1510 | void tty_vhangup(struct tty_struct * tty) | 1510 | void tty_vhangup(struct tty_struct * tty) |
@@ -1691,7 +1691,7 @@ EXPORT_SYMBOL(stop_tty); | |||
1691 | * @tty: tty to start | 1691 | * @tty: tty to start |
1692 | * | 1692 | * |
1693 | * Start a tty that has been stopped if at all possible. Perform | 1693 | * Start a tty that has been stopped if at all possible. Perform |
1694 | * any neccessary wakeups and propagate the TIOCPKT status. If this | 1694 | * any necessary wakeups and propagate the TIOCPKT status. If this |
1695 | * is the tty was previous stopped and is being started then the | 1695 | * is the tty was previous stopped and is being started then the |
1696 | * driver start method is invoked and the line discipline woken. | 1696 | * driver start method is invoked and the line discipline woken. |
1697 | * | 1697 | * |
@@ -2877,7 +2877,7 @@ static int tty_fasync(int fd, struct file * filp, int on) | |||
2877 | * @tty: tty to fake input into | 2877 | * @tty: tty to fake input into |
2878 | * @p: pointer to character | 2878 | * @p: pointer to character |
2879 | * | 2879 | * |
2880 | * Fake input to a tty device. Does the neccessary locking and | 2880 | * Fake input to a tty device. Does the necessary locking and |
2881 | * input management. | 2881 | * input management. |
2882 | * | 2882 | * |
2883 | * FIXME: does not honour flow control ?? | 2883 | * FIXME: does not honour flow control ?? |
diff --git a/drivers/char/tty_ioctl.c b/drivers/char/tty_ioctl.c index 0def089cc1f2..7a003504c265 100644 --- a/drivers/char/tty_ioctl.c +++ b/drivers/char/tty_ioctl.c | |||
@@ -444,7 +444,7 @@ static void change_termios(struct tty_struct * tty, struct ktermios * new_termio | |||
444 | * @arg: user data | 444 | * @arg: user data |
445 | * @opt: option information | 445 | * @opt: option information |
446 | * | 446 | * |
447 | * Helper function to prepare termios data and run neccessary other | 447 | * Helper function to prepare termios data and run necessary other |
448 | * functions before using change_termios to do the actual changes. | 448 | * functions before using change_termios to do the actual changes. |
449 | * | 449 | * |
450 | * Locking: | 450 | * Locking: |