diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-06-06 07:46:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-06 20:29:09 +0200 |
commit | f6266e34713dc286b52623d8a4ff846973c0bcce (patch) | |
tree | d6c42004566e9143662e339b111aaeab482b21b8 | |
parent | eCryptfs: remove unnecessary page decrypt call (diff) | |
download | linux-f6266e34713dc286b52623d8a4ff846973c0bcce.tar.xz linux-f6266e34713dc286b52623d8a4ff846973c0bcce.zip |
edd: fix incorrect return of 1 from module_init
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/firmware/edd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c index 744011989044..9e4f59dc7f1e 100644 --- a/drivers/firmware/edd.c +++ b/drivers/firmware/edd.c @@ -753,7 +753,7 @@ edd_init(void) if (!edd_num_devices()) { printk(KERN_INFO "EDD information not available.\n"); - return 1; + return -ENODEV; } edd_kset = kset_create_and_add("edd", NULL, firmware_kobj); |