Commit-ID:  ca0ba26fbbd2d81c43085df49ce0abfe34535a90
Gitweb:     http://git.kernel.org/tip/ca0ba26fbbd2d81c43085df49ce0abfe34535a90
Author:     Ben Hutchings <[email protected]>
AuthorDate: Fri, 22 Mar 2013 19:56:51 +0000
Committer:  Matt Fleming <[email protected]>
CommitDate: Fri, 22 Mar 2013 20:08:01 +0000

efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

The 'CONFIG_' prefix is not implicit in IS_ENABLED().

Signed-off-by: Ben Hutchings <[email protected]>
Cc: Seth Forshee <[email protected]>
Cc: <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
---
 drivers/firmware/efivars.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index d64661f..7acafb8 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -104,7 +104,7 @@ MODULE_VERSION(EFIVARS_VERSION);
 #define GUID_LEN 36
 
 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);
 
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to