efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE
authorBen Hutchings <ben@decadent.org.uk>
Fri, 22 Mar 2013 19:56:51 +0000 (19:56 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 22 Mar 2013 20:08:01 +0000 (20:08 +0000)
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>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efivars.c

index d64661fda4fdc729477be4ac6acaf5f423a45fcb..7acafb80fd4c79b19b1c53551bb5e7e8612af707 100644 (file)
@@ -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);