Commit 8c4b3c29 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: gameport - mark gameport_register_driver() __must_check

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 2547203d
......@@ -148,7 +148,7 @@ static inline void gameport_unpin_driver(struct gameport *gameport)
int __gameport_register_driver(struct gameport_driver *drv,
struct module *owner, const char *mod_name);
static inline int gameport_register_driver(struct gameport_driver *drv)
static inline int __must_check gameport_register_driver(struct gameport_driver *drv)
{
return __gameport_register_driver(drv, THIS_MODULE, KBUILD_MODNAME);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment