efivars: Allow disabling use as a pstore backend
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 7 Mar 2013 17:40:17 +0000 (11:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:18:12 +0000 (12:18 -0700)
commit341936a92e34a8651fb95fc4383704d6d7d3b304
tree4a2bc70102606aa659cafcb2b81fbfcbd5424db2
parentc8ef90a95287bb5504bc568530f046e15652490d
efivars: Allow disabling use as a pstore backend

commit ed9dc8ce7a1c8115dba9483a9b51df8b63a2e0ef upstream.

Add a new option, CONFIG_EFI_VARS_PSTORE, which can be set to N to
avoid using efivars as a backend to pstore, as some users may want to
compile out the code completely.

Set the default to Y to maintain backwards compatability, since this
feature has always been enabled until now.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Cc: Josh Boyer <jwboyer@redhat.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/Kconfig
drivers/firmware/efivars.c