diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-03-22 20:56:51 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-03-22 21:08:01 +0100 |
commit | ca0ba26fbbd2d81c43085df49ce0abfe34535a90 (patch) | |
tree | 5f0a517c93769e43a25b57b3eb138270d9806e81 /drivers/firmware/efivars.c | |
parent | efivars: Handle duplicate names from get_next_variable() (diff) | |
download | linux-ca0ba26fbbd2d81c43085df49ce0abfe34535a90.tar.xz linux-ca0ba26fbbd2d81c43085df49ce0abfe34535a90.zip |
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>
Diffstat (limited to 'drivers/firmware/efivars.c')
-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); #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); |