From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751606AbcGKTlK (ORCPT ); Mon, 11 Jul 2016 15:41:10 -0400 Received: from merlin.infradead.org ([205.233.59.134]:40102 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750938AbcGKTlI (ORCPT ); Mon, 11 Jul 2016 15:41:08 -0400 To: LKML , "linux-next@vger.kernel.org" , Luis Rodriguez , Greg Kroah-Hartman From: Randy Dunlap Subject: [PATCH -next] pnp: pnpbios: add header file to fix build errors Message-ID: <5783F64F.9060408@infradead.org> Date: Mon, 11 Jul 2016 12:41:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 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 --- drivers/pnp/pnpbios/core.c | 1 + 1 file changed, 1 insertion(+) --- linux-next-20160711.orig/drivers/pnp/pnpbios/core.c +++ linux-next-20160711/drivers/pnp/pnpbios/core.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #include