]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel: sys.c implicitly relies on kmod.h for usermodehelper
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 00:59:13 +0000 (20:59 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:04 +0000 (19:09 -0400)
commit9cb332f8bd3d5b3b41e155f51e935c482fe07de9
tree5b91743110a91ae1316e4186f98e6d3ed62b9131
parenta231032dbe30ace73206ba0ba06dbb28f3e64df2
kernel: sys.c implicitly relies on kmod.h for usermodehelper

In preparation to clean up the pervasive module.h usage which
in turn brings in every header possible, testing reveals that
this file gets the usermodehelper functions via that path.

Explicitly include kmod.h so that we don't things like:

kernel/sys.c:317: error: implicit declaration of function ‘usermodehelper_disable’
kernel/sys.c:1816: error: implicit declaration of function ‘call_usermodehelper_setup’
kernel/sys.c:1822: error: implicit declaration of function ‘call_usermodehelper_setfns’
kernel/sys.c:1824: error: implicit declaration of function ‘call_usermodehelper_exec’

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/sys.c