diff options
| author | Felix Blyakher <felixb@sgi.com> | 2009-06-10 18:07:47 -0400 |
|---|---|---|
| committer | Felix Blyakher <felixb@sgi.com> | 2009-06-10 18:07:47 -0400 |
| commit | 4e73e0eb633f8a1b5cbf20e7f42c6dbfec1d1ca7 (patch) | |
| tree | 0cea46e43f0625244c3d06a71d6559e5ec5419ca /include/linux/tty_driver.h | |
| parent | 4156e735d3abde8e9243b5d22f7999dd3fffab2e (diff) | |
| parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/tty_driver.h')
| -rw-r--r-- | include/linux/tty_driver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 08e088334dba..bcba84ea2d86 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h | |||
| @@ -252,8 +252,6 @@ struct tty_operations { | |||
| 252 | void (*set_ldisc)(struct tty_struct *tty); | 252 | void (*set_ldisc)(struct tty_struct *tty); |
| 253 | void (*wait_until_sent)(struct tty_struct *tty, int timeout); | 253 | void (*wait_until_sent)(struct tty_struct *tty, int timeout); |
| 254 | void (*send_xchar)(struct tty_struct *tty, char ch); | 254 | void (*send_xchar)(struct tty_struct *tty, char ch); |
| 255 | int (*read_proc)(char *page, char **start, off_t off, | ||
| 256 | int count, int *eof, void *data); | ||
| 257 | int (*tiocmget)(struct tty_struct *tty, struct file *file); | 255 | int (*tiocmget)(struct tty_struct *tty, struct file *file); |
| 258 | int (*tiocmset)(struct tty_struct *tty, struct file *file, | 256 | int (*tiocmset)(struct tty_struct *tty, struct file *file, |
| 259 | unsigned int set, unsigned int clear); | 257 | unsigned int set, unsigned int clear); |
| @@ -264,6 +262,7 @@ struct tty_operations { | |||
| 264 | int (*poll_get_char)(struct tty_driver *driver, int line); | 262 | int (*poll_get_char)(struct tty_driver *driver, int line); |
| 265 | void (*poll_put_char)(struct tty_driver *driver, int line, char ch); | 263 | void (*poll_put_char)(struct tty_driver *driver, int line, char ch); |
| 266 | #endif | 264 | #endif |
| 265 | const struct file_operations *proc_fops; | ||
| 267 | }; | 266 | }; |
| 268 | 267 | ||
| 269 | struct tty_driver { | 268 | struct tty_driver { |
| @@ -310,7 +309,8 @@ extern void tty_set_operations(struct tty_driver *driver, | |||
| 310 | extern struct tty_driver *tty_find_polling_driver(char *name, int *line); | 309 | extern struct tty_driver *tty_find_polling_driver(char *name, int *line); |
| 311 | 310 | ||
| 312 | extern void tty_driver_kref_put(struct tty_driver *driver); | 311 | extern void tty_driver_kref_put(struct tty_driver *driver); |
| 313 | extern inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) | 312 | |
| 313 | static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) | ||
| 314 | { | 314 | { |
| 315 | kref_get(&d->kref); | 315 | kref_get(&d->kref); |
| 316 | return d; | 316 | return d; |
