diff options
Diffstat (limited to 'drivers/s390/char/raw3270.h')
-rw-r--r-- | drivers/s390/char/raw3270.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/s390/char/raw3270.h b/drivers/s390/char/raw3270.h index ed34eb2199cc..a4c79d043cd3 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 { |
@@ -192,8 +193,14 @@ struct raw3270 *raw3270_setup_console(struct ccw_device *cdev); | |||
192 | void raw3270_wait_cons_dev(struct raw3270 *); | 193 | void raw3270_wait_cons_dev(struct raw3270 *); |
193 | 194 | ||
194 | /* Notifier for device addition/removal */ | 195 | /* Notifier for device addition/removal */ |
195 | int raw3270_register_notifier(void (*notifier)(int, int)); | 196 | struct raw3270_notifier { |
196 | void raw3270_unregister_notifier(void (*notifier)(int, int)); | 197 | struct list_head list; |
198 | void (*create)(int minor); | ||
199 | void (*destroy)(int minor); | ||
200 | }; | ||
201 | |||
202 | int raw3270_register_notifier(struct raw3270_notifier *); | ||
203 | void raw3270_unregister_notifier(struct raw3270_notifier *); | ||
197 | void raw3270_pm_unfreeze(struct raw3270_view *); | 204 | void raw3270_pm_unfreeze(struct raw3270_view *); |
198 | 205 | ||
199 | /* | 206 | /* |