From: Dmitry Torokhov Date: Fri, 6 Jun 2008 05:33:51 +0000 (-0400) Subject: Input: gameport - mark gameport_register_driver() __must_check X-Git-Tag: v2.6.28-rc1~289^2^2~29 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8c4b3c29329eb7ffded3023e6d65bc415cb4e215;p=linux-2.6-omap-h63xx.git Input: gameport - mark gameport_register_driver() __must_check Signed-off-by: Dmitry Torokhov --- diff --git a/include/linux/gameport.h b/include/linux/gameport.h index 5126125afd4..0cd825f7363 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); }