From: Paul Gortmaker Date: Thu, 26 May 2011 16:48:41 +0000 (-0400) Subject: kernel: fix implicit use of kmod.h in power/suspend.c X-Git-Tag: next-20110826~3^2~190 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50f8eb4dd62107c2afaeda1a0808e56a30249c7d;p=karo-tx-linux.git kernel: fix implicit use of kmod.h in power/suspend.c File power/suspend.c was implicitly relying on 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 --- diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index b6b71ad2208f..a2928c4574df 100644 --- a/kernel/power/suspend.c +++ b/kernel/power/suspend.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include