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)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 21 Mar 2013 12:43:46 +0000 (12:43 +0000)
commited9dc8ce7a1c8115dba9483a9b51df8b63a2e0ef
tree124508548feae5220ade4569407c73827f66bac0
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
efivars: Allow disabling use as a pstore backend

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/Kconfig
drivers/firmware/efivars.c