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

Side by Side Diff: drivers/platform/x86/chromeos_acpi.h

Issue 6693057: CHROMIUM: Fix comment typos in chromeos_acpi.h (Closed) Base URL: ssh://gitrw.chromium.org:9222/kernel-next.git@chromeos-2.6.38
Patch Set: Rebase on ToT Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef _DRIVERS_PLATFORM_X86_CHROMEOS_ACPI_H 1 #ifndef _DRIVERS_PLATFORM_X86_CHROMEOS_ACPI_H
2 #define _DRIVERS_PLATFORM_X86_CHROMEOS_ACPI_H 2 #define _DRIVERS_PLATFORM_X86_CHROMEOS_ACPI_H
3 3
4 #include <linux/types.h> 4 #include <linux/types.h>
5 5
6 #define NVRAM_BYTES (128 - NVRAM_FIRST_BYTE) /* from drivers/char/nvram.c */ 6 #define NVRAM_BYTES (128 - NVRAM_FIRST_BYTE) /* from drivers/char/nvram.c */
7 7
8 #define CHNV_DEBUG_RESET_FLAG 0x40 /* flag for S3 reboot */ 8 #define CHNV_DEBUG_RESET_FLAG 0x40 /* flag for S3 reboot */
9 #define CHNV_RECOVERY_FLAG 0x80 /* flag for recovery reboot */ 9 #define CHNV_RECOVERY_FLAG 0x80 /* flag for recovery reboot */
10 10
11 #define CHSW_RECOVERY_FW 0x00000002 /* recovery button depressed */ 11 #define CHSW_RECOVERY_FW 0x00000002 /* recovery button depressed */
12 #define CHSW_RECOVERY_EC 0x00000004 /* recovery button depressed */ 12 #define CHSW_RECOVERY_EC 0x00000004 /* recovery button depressed */
13 #define CHSW_DEVELOPER_MODE 0x00000020 /* developer switch set */ 13 #define CHSW_DEVELOPER_MODE 0x00000020 /* developer switch set */
14 #define CHSW_WP 0x00000200 /* write-protect (optional) */ 14 #define CHSW_WP 0x00000200 /* write-protect (optional) */
15 15
16 /* 16 /*
17 * Structure containing one ACPi exported integer along with the validity 17 * Structure containing one ACPI exported integer along with the validity
18 * flag. 18 * flag.
19 */ 19 */
20 struct chromeos_acpi_datum { 20 struct chromeos_acpi_datum {
21 unsigned cad_value; 21 unsigned cad_value;
22 bool cad_is_set; 22 bool cad_is_set;
23 }; 23 };
24 24
25 /* 25 /*
26 * Structure containg the set of ACPI exported integers required by chromeos 26 * Structure containing the set of ACPI exported integers required by chromeos
27 * wrapper. 27 * wrapper.
28 */ 28 */
29 struct chromeos_acpi_if { 29 struct chromeos_acpi_if {
30 struct chromeos_acpi_datum switch_state; 30 struct chromeos_acpi_datum switch_state;
31 struct chromeos_acpi_datum nv_base; 31 struct chromeos_acpi_datum nv_base;
32 struct chromeos_acpi_datum nv_size; 32 struct chromeos_acpi_datum nv_size;
33 }; 33 };
34 34
35 35
36 extern struct chromeos_acpi_if chromeos_acpi_if_data; 36 extern struct chromeos_acpi_if chromeos_acpi_if_data;
37 37
38 #endif /* _DRIVERS_PLATFORM_X86_CHROMEOS_ACPI_H */ 38 #endif /* _DRIVERS_PLATFORM_X86_CHROMEOS_ACPI_H */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698