mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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>
This commit is contained in:
parent
d3e49afbb6
commit
f6266e3471
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ edd_init(void)
|
||||||
|
|
||||||
if (!edd_num_devices()) {
|
if (!edd_num_devices()) {
|
||||||
printk(KERN_INFO "EDD information not available.\n");
|
printk(KERN_INFO "EDD information not available.\n");
|
||||||
return 1;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);
|
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);
|
||||||
|
|
Loading…
Reference in a new issue