efivars: move efivars globals into struct efivars
commit29422693c410c68071bdd60e0a0ec590490781aa
authorMike Waychison <mikew@google.com>
Sat, 12 Mar 2011 01:43:00 +0000 (11 17:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Mar 2011 15:40:49 +0000 (14 08:40 -0700)
treef402b6ea9b360eee4078a9ebc28e84b626bec894
parentc1605f2e3312ca149caf32129e0b25b1e7296f36
efivars: move efivars globals into struct efivars

In preparation for abstracting out efivars to be usable by other similar
variable services, move the global lock, list and kset into a structure.
Later patches will change the scope of 'efivars' and have it be passed
by function argument.

Signed-off-by: Mike Waychison <mikew@google.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>,
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/efivars.c