diff options
Diffstat (limited to 'drivers/char/hvc_console.h')
-rw-r--r-- | drivers/char/hvc_console.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/hvc_console.h b/drivers/char/hvc_console.h index ec0e9bb0e5e6..e3359f3c9b2a 100644 --- a/drivers/char/hvc_console.h +++ b/drivers/char/hvc_console.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #ifndef HVC_CONSOLE_H | 27 | #ifndef HVC_CONSOLE_H |
28 | #define HVC_CONSOLE_H | 28 | #define HVC_CONSOLE_H |
29 | #include <linux/kref.h> | 29 | #include <linux/kref.h> |
30 | #include <linux/tty.h> | ||
30 | 31 | ||
31 | /* | 32 | /* |
32 | * This is the max number of console adapters that can/will be found as | 33 | * This is the max number of console adapters that can/will be found as |
@@ -56,6 +57,8 @@ struct hvc_struct { | |||
56 | struct hv_ops *ops; | 57 | struct hv_ops *ops; |
57 | int irq_requested; | 58 | int irq_requested; |
58 | int data; | 59 | int data; |
60 | struct winsize ws; | ||
61 | struct work_struct tty_resize; | ||
59 | struct list_head next; | 62 | struct list_head next; |
60 | struct kref kref; /* ref count & hvc_struct lifetime */ | 63 | struct kref kref; /* ref count & hvc_struct lifetime */ |
61 | }; | 64 | }; |
@@ -84,6 +87,9 @@ extern int __devexit hvc_remove(struct hvc_struct *hp); | |||
84 | int hvc_poll(struct hvc_struct *hp); | 87 | int hvc_poll(struct hvc_struct *hp); |
85 | void hvc_kick(void); | 88 | void hvc_kick(void); |
86 | 89 | ||
90 | /* Resize hvc tty terminal window */ | ||
91 | extern void hvc_resize(struct hvc_struct *hp, struct winsize ws); | ||
92 | |||
87 | /* default notifier for irq based notification */ | 93 | /* default notifier for irq based notification */ |
88 | extern int notifier_add_irq(struct hvc_struct *hp, int data); | 94 | extern int notifier_add_irq(struct hvc_struct *hp, int data); |
89 | extern void notifier_del_irq(struct hvc_struct *hp, int data); | 95 | extern void notifier_del_irq(struct hvc_struct *hp, int data); |