]> 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>
Thu, 25 Aug 2011 17:54:29 +0000 (13:54 -0400)
commit50f8eb4dd62107c2afaeda1a0808e56a30249c7d
tree5d60c505ac40198f7128f47620788e71bac25518
parent4ed382d8c187d9b676ad1a86b63135c4cd14cb08
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