Skip to content

Commit

Permalink
Input: gameport - mark gameport_register_driver() __must_check
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Jul 30, 2008
1 parent 2547203 commit 8c4b3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/gameport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8c4b3c2

Please sign in to comment.