[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae7a56b8-27a4-05c3-44f7-e1140bfd7acd@infradead.org>
Date: Tue, 26 Jul 2016 16:26:40 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: "linux-next@...r.kernel.org" <linux-next@...r.kernel.org>,
Rafael Wysocki <rafael.j.wysocki@...el.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Luis R. Rodriguez" <mcgrof@...e.com>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] pnpbios: add header file to fix build errors
From: Randy Dunlap <rdunlap@...radead.org>
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 <rdunlap@...radead.org>
---
I should have copied Rafael on this the first time.
Also applies to mainline.
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 <linux/delay.h>
#include <linux/acpi.h>
#include <linux/freezer.h>
+#include <linux/kmod.h>
#include <linux/kthread.h>
#include <asm/page.h>
Powered by blists - more mailing lists