diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-03-22 19:56:51 (GMT) |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-03-22 20:08:01 (GMT) |
commit | ca0ba26fbbd2d81c43085df49ce0abfe34535a90 (patch) | |
tree | 5f0a517c93769e43a25b57b3eb138270d9806e81 | |
parent | e971318bbed610e28bb3fde9d548e6aaf0a6b02e (diff) | |
download | linux-ca0ba26fbbd2d81c43085df49ce0abfe34535a90.tar.xz |
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 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); |