aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r--drivers/acpi/bus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index b2977695e120..7b77ee146a80 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -25,6 +25,7 @@
25#include <linux/module.h> 25#include <linux/module.h>
26#include <linux/init.h> 26#include <linux/init.h>
27#include <linux/ioport.h> 27#include <linux/ioport.h>
28#include <linux/kernel.h>
28#include <linux/list.h> 29#include <linux/list.h>
29#include <linux/sched.h> 30#include <linux/sched.h>
30#include <linux/pm.h> 31#include <linux/pm.h>
@@ -738,7 +739,10 @@ static int __init acpi_init(void)
738 return -ENODEV; 739 return -ENODEV;
739 } 740 }
740 741
741 firmware_register(&acpi_subsys); 742 result = firmware_register(&acpi_subsys);
743 if (result < 0)
744 printk(KERN_WARNING "%s: firmware_register error: %d\n",
745 __FUNCTION__, result);
742 746
743 result = acpi_bus_init(); 747 result = acpi_bus_init();
744 748