]> 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>
Thu, 25 Aug 2011 17:54:31 +0000 (13:54 -0400)
commitd1dcc86bfc6c3f00c02add11670f7c561df5e216
tree458a630e6c5eae84d2c691ca34333707328bcbc7
parentb59f64c117e21fe6f1785350b04eefe4a0135f48
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