]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel: fix implicit use of kmod.h in power/suspend.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 16:48:41 +0000 (12:48 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:03 +0000 (19:09 -0400)
commit9393b20a07f30fd3a68e93191650eee57b32c709
tree4d380b5e90efe1e89b95ced110437bc1167023db
parent4d0c1d4170d4d193bc3e422697cb9946244d0b80
kernel: fix implicit use of kmod.h in power/suspend.c

File power/suspend.c was implicitly relying on <linux/kmod.h>
coming in via module.h, as without it we get:

kernel/power/suspend.c: In function ‘suspend_prepare’:
kernel/power/suspend.c:100: error: implicit declaration of function ‘usermodehelper_disable’
kernel/power/suspend.c:109: error: implicit declaration of function ‘usermodehelper_enable’

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