Commit 54a50867 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] efivars: add MODULE_VERSION, remove unnecessary check in exit

From: Matt Domsch <Matt_Domsch@dell.com>

* Adds MODULE_VERSION

* Remove check for efi_enabled in efivars_exit() - we aborted module load at
  init based on this already.
parent 17b62a72
......@@ -23,6 +23,10 @@
*
* Changelog:
*
* 17 May 2004 - Matt Domsch <Matt_Domsch@dell.com>
* remove check for efi_enabled in exit
* add MODULE_VERSION
*
* 26 Apr 2004 - Matt Domsch <Matt_Domsch@dell.com>
* minor bug fixes
*
......@@ -77,11 +81,13 @@
#include <asm/uaccess.h>
#define EFIVARS_VERSION "0.08"
#define EFIVARS_DATE "2004-May-17"
MODULE_AUTHOR("Matt Domsch <Matt_Domsch@Dell.com>");
MODULE_DESCRIPTION("sysfs interface to EFI Variables");
MODULE_LICENSE("GPL");
#define EFIVARS_VERSION "0.07 2004-Apr-26"
MODULE_VERSION(EFIVARS_VERSION);
/*
* efivars_lock protects two things:
......@@ -667,7 +673,8 @@ efivars_init(void)
if (!efi_enabled)
return -ENODEV;
printk(KERN_INFO "EFI Variables Facility v%s\n", EFIVARS_VERSION);
printk(KERN_INFO "EFI Variables Facility v%s %s\n", EFIVARS_VERSION,
EFIVARS_DATE);
/*
* For now we'll register the efi subsys within this driver
......@@ -736,9 +743,6 @@ efivars_exit(void)
{
struct list_head *pos, *n;
if (!efi_enabled)
return;
list_for_each_safe(pos, n, &efivar_list)
efivar_unregister(get_efivar_entry(pos));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment