diff options
Diffstat (limited to 'drivers/s390/char/raw3270.h')
-rw-r--r-- | drivers/s390/char/raw3270.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/s390/char/raw3270.h b/drivers/s390/char/raw3270.h index ed34eb2199cc..7b73ff8c1bd7 100644 --- a/drivers/s390/char/raw3270.h +++ b/drivers/s390/char/raw3270.h | |||
@@ -91,6 +91,7 @@ struct raw3270_iocb { | |||
91 | 91 | ||
92 | struct raw3270; | 92 | struct raw3270; |
93 | struct raw3270_view; | 93 | struct raw3270_view; |
94 | extern struct class *class3270; | ||
94 | 95 | ||
95 | /* 3270 CCW request */ | 96 | /* 3270 CCW request */ |
96 | struct raw3270_request { | 97 | struct raw3270_request { |
@@ -140,6 +141,7 @@ struct raw3270_fn { | |||
140 | struct raw3270_request *, struct irb *); | 141 | struct raw3270_request *, struct irb *); |
141 | void (*release)(struct raw3270_view *); | 142 | void (*release)(struct raw3270_view *); |
142 | void (*free)(struct raw3270_view *); | 143 | void (*free)(struct raw3270_view *); |
144 | void (*resize)(struct raw3270_view *, int, int, int); | ||
143 | }; | 145 | }; |
144 | 146 | ||
145 | /* | 147 | /* |
@@ -192,8 +194,14 @@ struct raw3270 *raw3270_setup_console(struct ccw_device *cdev); | |||
192 | void raw3270_wait_cons_dev(struct raw3270 *); | 194 | void raw3270_wait_cons_dev(struct raw3270 *); |
193 | 195 | ||
194 | /* Notifier for device addition/removal */ | 196 | /* Notifier for device addition/removal */ |
195 | int raw3270_register_notifier(void (*notifier)(int, int)); | 197 | struct raw3270_notifier { |
196 | void raw3270_unregister_notifier(void (*notifier)(int, int)); | 198 | struct list_head list; |
199 | void (*create)(int minor); | ||
200 | void (*destroy)(int minor); | ||
201 | }; | ||
202 | |||
203 | int raw3270_register_notifier(struct raw3270_notifier *); | ||
204 | void raw3270_unregister_notifier(struct raw3270_notifier *); | ||
197 | void raw3270_pm_unfreeze(struct raw3270_view *); | 205 | void raw3270_pm_unfreeze(struct raw3270_view *); |
198 | 206 | ||
199 | /* | 207 | /* |