diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-06 01:33:51 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-07-30 00:41:37 -0400 |
commit | 8c4b3c29329eb7ffded3023e6d65bc415cb4e215 (patch) | |
tree | 88d6292682644877557d4fadd3cbe5344ba81083 /include/linux/gameport.h | |
parent | 2547203d583cc267b98f518d5d93e3a0469d8f62 (diff) | |
download | linux-8c4b3c29329eb7ffded3023e6d65bc415cb4e215.tar.gz linux-8c4b3c29329eb7ffded3023e6d65bc415cb4e215.tar.bz2 linux-8c4b3c29329eb7ffded3023e6d65bc415cb4e215.zip |
Input: gameport - mark gameport_register_driver() __must_check
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/gameport.h')
-rw-r--r-- | include/linux/gameport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/gameport.h b/include/linux/gameport.h index 5126125afd4e..0cd825f7363a 100644 --- a/include/linux/gameport.h +++ b/include/linux/gameport.h @@ -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); } |