diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-03-22 15:56:51 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-03-22 16:08:01 -0400 |
commit | ca0ba26fbbd2d81c43085df49ce0abfe34535a90 (patch) | |
tree | 5f0a517c93769e43a25b57b3eb138270d9806e81 | |
parent | e971318bbed610e28bb3fde9d548e6aaf0a6b02e (diff) |
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>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | drivers/firmware/efivars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index d64661fda4fd..7acafb80fd4c 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c | |||
@@ -104,7 +104,7 @@ MODULE_VERSION(EFIVARS_VERSION); | |||
104 | #define GUID_LEN 36 | 104 | #define GUID_LEN 36 |
105 | 105 | ||
106 | static bool efivars_pstore_disable = | 106 | static bool efivars_pstore_disable = |
107 | IS_ENABLED(EFI_VARS_PSTORE_DEFAULT_DISABLE); | 107 | IS_ENABLED(CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE); |
108 | 108 | ||
109 | module_param_named(pstore_disable, efivars_pstore_disable, bool, 0644); | 109 | module_param_named(pstore_disable, efivars_pstore_disable, bool, 0644); |
110 | 110 | ||