mirror of
https://github.com/adulau/aha.git
synced 2025-01-03 22:53:18 +00:00
ACPI: add message if firmware_register() init fails
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
b20d2aeb0a
commit
7daef60721
1 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/ioport.h>
|
#include <linux/ioport.h>
|
||||||
|
#include <linux/kernel.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/pm.h>
|
#include <linux/pm.h>
|
||||||
|
@ -738,7 +739,10 @@ static int __init acpi_init(void)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
firmware_register(&acpi_subsys);
|
result = firmware_register(&acpi_subsys);
|
||||||
|
if (result < 0)
|
||||||
|
printk(KERN_WARNING "%s: firmware_register error: %d\n",
|
||||||
|
__FUNCTION__, result);
|
||||||
|
|
||||||
result = acpi_bus_init();
|
result = acpi_bus_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue