aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/raw3270.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/char/raw3270.h')
-rw-r--r--drivers/s390/char/raw3270.h12
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
92struct raw3270; 92struct raw3270;
93struct raw3270_view; 93struct raw3270_view;
94extern struct class *class3270;
94 95
95/* 3270 CCW request */ 96/* 3270 CCW request */
96struct raw3270_request { 97struct 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);
192void raw3270_wait_cons_dev(struct raw3270 *); 194void raw3270_wait_cons_dev(struct raw3270 *);
193 195
194/* Notifier for device addition/removal */ 196/* Notifier for device addition/removal */
195int raw3270_register_notifier(void (*notifier)(int, int)); 197struct raw3270_notifier {
196void raw3270_unregister_notifier(void (*notifier)(int, int)); 198 struct list_head list;
199 void (*create)(int minor);
200 void (*destroy)(int minor);
201};
202
203int raw3270_register_notifier(struct raw3270_notifier *);
204void raw3270_unregister_notifier(struct raw3270_notifier *);
197void raw3270_pm_unfreeze(struct raw3270_view *); 205void raw3270_pm_unfreeze(struct raw3270_view *);
198 206
199/* 207/*