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

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: Address review comments 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
« no previous file with comments | « drivers/platform/x86/Kconfig ('k') | drivers/platform/x86/chromeos_acpi.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/platform/x86/chromeos.c
diff --git a/drivers/platform/x86/chromeos.c b/drivers/platform/x86/chromeos.c
index 5d245871496b9f09db4ba9f3ef2b54a59e0ab24c..aedec90ff0114371df6a2601e37280fa18b09185 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,7 @@ 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("%s: Can't write to nvram\n", __func__);
return -ENODEV;
}
« no previous file with comments | « drivers/platform/x86/Kconfig ('k') | drivers/platform/x86/chromeos_acpi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698