From: Ben Hutchings Date: Fri, 22 Mar 2013 19:56:51 +0000 (+0000) Subject: efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE X-Git-Tag: v3.8.5~8 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b0925a591f1359e64522a94d5fc56cc1df0abfa0;p=users%2Fjedix%2Flinux-maple.git 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 Cc: Seth Forshee Signed-off-by: Matt Fleming Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 383474fcad3a..e1d6253a8c6f 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);