]> 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>
Sun, 31 Jul 2011 05:43:45 +0000 (01:43 -0400)
commitb73cce5e05c251b11f5b5bfe58edce2150447fc5
tree7ad7a6e265f0a8ea6b553787d15060699a73f3a2
parentcf7329afd23083c1eed7a11ba81477776befa36d
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