diff options
Diffstat (limited to 'arch/x86/kernel/platform-quirks.c')
| -rw-r--r-- | arch/x86/kernel/platform-quirks.c | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/kernel/platform-quirks.c b/arch/x86/kernel/platform-quirks.c index 235fe6008ac8..b348a672f71d 100644 --- a/arch/x86/kernel/platform-quirks.c +++ b/arch/x86/kernel/platform-quirks.c @@ -33,9 +33,14 @@ void __init x86_early_init_platform_quirks(void)  		x86_platform.set_legacy_features();  } +bool __init x86_pnpbios_disabled(void) +{ +	return x86_platform.legacy.devices.pnpbios == 0; +} +  #if defined(CONFIG_PNPBIOS)  bool __init arch_pnpbios_disabled(void)  { -	return x86_platform.legacy.devices.pnpbios == 0; +	return x86_pnpbios_disabled();  }  #endif  |