]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: gameport - mark gameport_register_driver() __must_check
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 6 Jun 2008 05:33:51 +0000 (01:33 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Jul 2008 04:41:37 +0000 (00:41 -0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/gameport.h

index 5126125afd4e9bd24ab92f77814462f3dd6e3158..0cd825f7363a7aa61005b53eb658b7e3dfa66b3d 100644 (file)
@@ -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);
 }