diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-06 14:28:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-06 14:28:23 -0400 |
commit | 423ea3255424b954947d167681b71ded1b8fca53 (patch) | |
tree | a8d4b55d4d7b04782dd2f3d435cb533165ac8734 | |
parent | 9a91ad929f9a719c0c734abe791a27ab9444cd61 (diff) |
tty: rocket: fix incorrect forward declaration of 'rp_init()'
Make the forward declaration actually match the real function
definition, something that previous versions of gcc had just ignored.
This is another patch to fix new warnings from gcc-9 before I start the
merge window pulls. I don't want to miss legitimate new warnings just
because my system update brought a new compiler with new warnings.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/tty/rocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/rocket.c b/drivers/tty/rocket.c index b121d8f8f3d7..27aeca30eeae 100644 --- a/drivers/tty/rocket.c +++ b/drivers/tty/rocket.c | |||
@@ -266,7 +266,7 @@ MODULE_PARM_DESC(pc104_3, "set interface types for ISA(PC104) board #3 (e.g. pc1 | |||
266 | module_param_array(pc104_4, ulong, NULL, 0); | 266 | module_param_array(pc104_4, ulong, NULL, 0); |
267 | MODULE_PARM_DESC(pc104_4, "set interface types for ISA(PC104) board #4 (e.g. pc104_4=232,232,485,485,..."); | 267 | MODULE_PARM_DESC(pc104_4, "set interface types for ISA(PC104) board #4 (e.g. pc104_4=232,232,485,485,..."); |
268 | 268 | ||
269 | static int rp_init(void); | 269 | static int __init rp_init(void); |
270 | static void rp_cleanup_module(void); | 270 | static void rp_cleanup_module(void); |
271 | 271 | ||
272 | module_init(rp_init); | 272 | module_init(rp_init); |