diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-03-22 19:56:51 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-27 02:41:20 +0000 |
commit | f9c0efa2e87f6fb07738c097985eb04932ffca90 (patch) | |
tree | f95facccda6f24468abd18d8f30c976f75a64fbc | |
parent | a1e16e8184d48763a7036a672e44998e4d3fe182 (diff) | |
download | lwn-f9c0efa2e87f6fb07738c097985eb04932ffca90.tar.gz lwn-f9c0efa2e87f6fb07738c097985eb04932ffca90.zip |
efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE
commit ca0ba26fbbd2d81c43085df49ce0abfe34535a90 upstream.
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>
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 650ebde4f108..75f7f1762528 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@ -93,7 +93,7 @@ MODULE_VERSION(EFIVARS_VERSION); #define DUMP_NAME_LEN 52 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); |