git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ACPI: don't walk tables if ACPI was disabled
[pandora-kernel.git]
/
drivers
/
acpi
/
glue.c
diff --git
a/drivers/acpi/glue.c
b/drivers/acpi/glue.c
index
9b227d4
..
6d18ca3
100644
(file)
--- a/
drivers/acpi/glue.c
+++ b/
drivers/acpi/glue.c
@@
-333,6
+333,9
@@
static int __init acpi_rtc_init(void)
{
struct device *dev = get_rtc_dev();
+ if (acpi_disabled)
+ return 0;
+
if (acpi_disabled)
return 0;