From: Randy Dunlap Date: Tue, 26 Jul 2016 23:26:40 +0000 (-0700) Subject: PNP: pnpbios: add header file to fix build errors X-Git-Tag: v4.8-rc1~23^2 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=61a67a366d5b5f9e3c8f27d056a3a67ede2a0026;p=karo-tx-linux.git PNP: pnpbios: add header file to fix build errors Fix build errors due to missing header file: ../drivers/pnp/pnpbios/core.c: In function 'pnp_dock_event': ../drivers/pnp/pnpbios/core.c:141:2: error: implicit declaration of function 'call_usermodehelper' [-Werror=implicit-function-declaration] value = call_usermodehelper(argv [0], argv, envp, UMH_WAIT_EXEC); ^ ../drivers/pnp/pnpbios/core.c:141:52: error: 'UMH_WAIT_EXEC' undeclared (first use in this function) value = call_usermodehelper(argv [0], argv, envp, UMH_WAIT_EXEC); ^ Signed-off-by: Randy Dunlap Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c index bedb361746a0..c38a5b9733c8 100644 --- a/drivers/pnp/pnpbios/core.c +++ b/drivers/pnp/pnpbios/core.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #include