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 | |
parent | 2547203d583cc267b98f518d5d93e3a0469d8f62 (diff) |
Input: gameport - mark gameport_register_driver() __must_check
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-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) | |||
148 | 148 | ||
149 | int __gameport_register_driver(struct gameport_driver *drv, | 149 | int __gameport_register_driver(struct gameport_driver *drv, |
150 | struct module *owner, const char *mod_name); | 150 | struct module *owner, const char *mod_name); |
151 | static inline int gameport_register_driver(struct gameport_driver *drv) | 151 | static inline int __must_check gameport_register_driver(struct gameport_driver *drv) |
152 | { | 152 | { |
153 | return __gameport_register_driver(drv, THIS_MODULE, KBUILD_MODNAME); | 153 | return __gameport_register_driver(drv, THIS_MODULE, KBUILD_MODNAME); |
154 | } | 154 | } |