summaryrefslogtreecommitdiff
path: root/include/linux/gameport.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-06 01:33:51 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-07-30 00:41:37 -0400
commit8c4b3c29329eb7ffded3023e6d65bc415cb4e215 (patch)
tree88d6292682644877557d4fadd3cbe5344ba81083 /include/linux/gameport.h
parent2547203d583cc267b98f518d5d93e3a0469d8f62 (diff)
downloadlwn-8c4b3c29329eb7ffded3023e6d65bc415cb4e215.tar.gz
lwn-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.h2
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);
}