Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3672)

Unified Diff: drivers/platform/x86/chromeos.c

Issue 6690023: CHROMIUMOS: chromeos_acpi: Introduce ability to handle buffers. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel.git@master
Patch Set: Enable Chromeos ACPI buffer handling. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: drivers/platform/x86/chromeos.c
diff --git a/drivers/platform/x86/chromeos.c b/drivers/platform/x86/chromeos.c
index 5d245871496b9f09db4ba9f3ef2b54a59e0ab24c..ff4c795e63ba5ab98457d8ff3d03a3db4f879088 100644
--- a/drivers/platform/x86/chromeos.c
+++ b/drivers/platform/x86/chromeos.c
@@ -32,6 +32,16 @@
#include "chromeos_acpi.h"
+/* Values set at probe time */
+int chromeos_acpi_chnv = -1;
+EXPORT_SYMBOL_GPL(chromeos_acpi_chnv);
+
+int chromeos_acpi_chsw = -1;
+EXPORT_SYMBOL_GPL(chromeos_acpi_chsw);
+
+bool chromeos_acpi_available;
+EXPORT_SYMBOL_GPL(chromeos_acpi_available);
+
static bool chromeos_inited;
static void chromeos_set_nvram_flag(int index, unsigned char flag)
@@ -64,7 +74,8 @@ int chromeos_set_need_recovery(void)
return -ENODEV;
if (chromeos_acpi_chnv < 0) {
- pr_warning("chromeos_set_need_recovery(): Can't write to nvram\n");
+ pr_warning("chromeos_set_need_recovery():"
+ " Can't write to nvram\n");
Olof Johansson 2011/03/14 21:24:32 %s with __func__ allows this to still be a one-li
vb 2011/03/14 22:00:04 Done.
return -ENODEV;
}

Powered by Google App Engine
This is Rietveld 408576698