25 lines
785 B
Diff
25 lines
785 B
Diff
From: Ben Hutchings <ben@decadent.org.uk>
|
|
Date: Fri, 22 Mar 2013 19:43:53 +0000
|
|
Subject: efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE
|
|
|
|
The 'CONFIG_' prefix is not implicit in IS_ENABLED().
|
|
|
|
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
|
Cc: Seth Forshee <seth.forshee@canonical.com>
|
|
Cc: <stable@vger.kernel.org>
|
|
---
|
|
drivers/firmware/efivars.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/firmware/efivars.c
|
|
+++ b/drivers/firmware/efivars.c
|
|
@@ -94,7 +94,7 @@ MODULE_ALIAS("platform:efivars");
|
|
#define DUMP_NAME_LEN 52
|
|
|
|
static bool efivars_pstore_disable =
|
|
- IS_ENABLED(EFI_VARS_PSTORE_DEFAULT_DISABLE);
|
|
+ IS_ENABLED(CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE);
|
|
|
|
module_param_named(pstore_disable, efivars_pstore_disable, bool, 0644);
|
|
|