Skip to content

Commit 056b44a

Browse files
arndbhansendc
authored andcommitted
x86/quirks: Include linux/pnp.h for arch_pnpbios_disabled()
arch_pnpbios_disabled() is defined in architecture code on x86, but this does not include the appropriate header, causing a warning: arch/x86/kernel/platform-quirks.c:42:13: error: no previous prototype for 'arch_pnpbios_disabled' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com> Link: https://lore.kernel.org/all/20230516193549.544673-10-arnd%40kernel.org
1 parent b963d12 commit 056b44a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/kernel/platform-quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <linux/kernel.h>
33
#include <linux/init.h>
4+
#include <linux/pnp.h>
45

56
#include <asm/setup.h>
67
#include <asm/bios_ebda.h>

0 commit comments

Comments
 (0)