diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-06 19:10:48 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-07 11:58:03 +0200 |
commit | 63df41d663fc27e96571bfea86d3f9ee81289e07 (patch) | |
tree | a6d460af08dcbaf9e4e3e8d0e46678f10f836024 /drivers/s390/char/tty3270.c | |
parent | 5b512beb0f18024e32e228976e3690d349b05b6a (diff) | |
download | lwn-63df41d663fc27e96571bfea86d3f9ee81289e07.tar.gz lwn-63df41d663fc27e96571bfea86d3f9ee81289e07.zip |
s390: make various functions static, add declarations to header files
Make various functions static, add declarations to header files to
fix a couple of sparse findings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/tty3270.c')
-rw-r--r-- | drivers/s390/char/tty3270.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index cee69dac3e18..a0f47c83fd62 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c @@ -1845,17 +1845,17 @@ static const struct tty_operations tty3270_ops = { .set_termios = tty3270_set_termios }; -void tty3270_create_cb(int minor) +static void tty3270_create_cb(int minor) { tty_register_device(tty3270_driver, minor - RAW3270_FIRSTMINOR, NULL); } -void tty3270_destroy_cb(int minor) +static void tty3270_destroy_cb(int minor) { tty_unregister_device(tty3270_driver, minor - RAW3270_FIRSTMINOR); } -struct raw3270_notifier tty3270_notifier = +static struct raw3270_notifier tty3270_notifier = { .create = tty3270_create_cb, .destroy = tty3270_destroy_cb, |