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>
Unified · Split
| @@ -60,6 +60,7 @@ · 59 unmodified lines | ||
| 60 | 60 | #include <linux/delay.h> |
| 61 | 61 | #include <linux/acpi.h> |
| 62 | 62 | #include <linux/freezer.h> |
| 63 | +#include <linux/kmod.h> | |
| 63 | 64 | #include <linux/kthread.h> |
| 64 | 65 | |
| 65 | 66 | #include <asm/page.h> |