]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
kernel: fix several implicit usasges of kmod.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 16:48:41 +0000 (12:48 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 13:20:12 +0000 (09:20 -0400)
commit74da1ff71350f3638c51613085f89c0865d7fe08
treeb8904435ba280a9b70462303909e8d8408428986
parent56d82e000cdfb51aa92241d4682302f78c35cd92
kernel: fix several implicit usasges of kmod.h

These files were implicitly relying on <linux/kmod.h> coming in via
module.h, as without it we get things like:

kernel/power/suspend.c:100: error: implicit declaration of function ‘usermodehelper_disable’
kernel/power/suspend.c:109: error: implicit declaration of function ‘usermodehelper_enable’
kernel/power/user.c:254: error: implicit declaration of function ‘usermodehelper_disable’
kernel/power/user.c:261: error: implicit declaration of function ‘usermodehelper_enable’

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/power/suspend.c
kernel/power/user.c
kernel/sys.c