Skip to content

Commit 61a67a3

Browse files
rddunlaprafaeljw
authored andcommitted
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 <rdunlap@infradead.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 59ebc44 commit 61a67a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pnp/pnpbios/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#include <linux/delay.h>
6161
#include <linux/acpi.h>
6262
#include <linux/freezer.h>
63+
#include <linux/kmod.h>
6364
#include <linux/kthread.h>
6465

6566
#include <asm/page.h>

0 commit comments

Comments
 (0)