mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
Input: gameport - mark gameport_register_driver() __must_check
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
2547203d58
commit
8c4b3c2932
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue