summaryrefslogtreecommitdiff
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorMike Waychison <mikew@google.com>2011-03-11 17:43:11 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 08:40:50 -0700
commit4142ef146aee440731de956d9f9f3170d5a238ae (patch)
tree32bcb80883c10a7088806fda17bbf1730a4d781e /drivers/cdrom
parentd502fbb0dc4d4babe5fb330257fa49a83fbf86a6 (diff)
efivars: parameterize efivars
Now that we all global variable state is encapsulated by struct efivars, parameterize all functions to the efivars local to the control flow rather than at file scope. We do this by removing the variable "efivars" at file scope and move its storage down to the end of the file. Variables get at efivars by storing the efivars pointer within each efivar_entry. The "new_var" and "del_var" binary attribute files get at the efivars through the private pointer. Signed-off-by: Mike Waychison <mikew@google.com> Cc: Matt Domsch <Matt_Domsch@dell.com>, Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions