diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/actbl.h | 1 | ||||
-rw-r--r-- | include/linux/sony-laptop.h | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 09469e7db6a5..955adfb8d64c 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
@@ -276,6 +276,7 @@ enum acpi_prefered_pm_profiles { | |||
276 | 276 | ||
277 | #define BAF_LEGACY_DEVICES 0x0001 | 277 | #define BAF_LEGACY_DEVICES 0x0001 |
278 | #define BAF_8042_KEYBOARD_CONTROLLER 0x0002 | 278 | #define BAF_8042_KEYBOARD_CONTROLLER 0x0002 |
279 | #define BAF_MSI_NOT_SUPPORTED 0x0008 | ||
279 | 280 | ||
280 | #define FADT2_REVISION_ID 3 | 281 | #define FADT2_REVISION_ID 3 |
281 | #define FADT2_MINUS_REVISION_ID 2 | 282 | #define FADT2_MINUS_REVISION_ID 2 |
diff --git a/include/linux/sony-laptop.h b/include/linux/sony-laptop.h new file mode 100644 index 000000000000..e2e036d94e4a --- /dev/null +++ b/include/linux/sony-laptop.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef _SONYLAPTOP_H_ | ||
2 | #define _SONYLAPTOP_H_ | ||
3 | |||
4 | #include <linux/types.h> | ||
5 | |||
6 | #ifdef __KERNEL__ | ||
7 | |||
8 | /* used only for communication between v4l and sony-laptop */ | ||
9 | |||
10 | #define SONY_PIC_COMMAND_GETCAMERA 1 /* obsolete */ | ||
11 | #define SONY_PIC_COMMAND_SETCAMERA 2 | ||
12 | #define SONY_PIC_COMMAND_GETCAMERABRIGHTNESS 3 /* obsolete */ | ||
13 | #define SONY_PIC_COMMAND_SETCAMERABRIGHTNESS 4 | ||
14 | #define SONY_PIC_COMMAND_GETCAMERACONTRAST 5 /* obsolete */ | ||
15 | #define SONY_PIC_COMMAND_SETCAMERACONTRAST 6 | ||
16 | #define SONY_PIC_COMMAND_GETCAMERAHUE 7 /* obsolete */ | ||
17 | #define SONY_PIC_COMMAND_SETCAMERAHUE 8 | ||
18 | #define SONY_PIC_COMMAND_GETCAMERACOLOR 9 /* obsolete */ | ||
19 | #define SONY_PIC_COMMAND_SETCAMERACOLOR 10 | ||
20 | #define SONY_PIC_COMMAND_GETCAMERASHARPNESS 11 /* obsolete */ | ||
21 | #define SONY_PIC_COMMAND_SETCAMERASHARPNESS 12 | ||
22 | #define SONY_PIC_COMMAND_GETCAMERAPICTURE 13 /* obsolete */ | ||
23 | #define SONY_PIC_COMMAND_SETCAMERAPICTURE 14 | ||
24 | #define SONY_PIC_COMMAND_GETCAMERAAGC 15 /* obsolete */ | ||
25 | #define SONY_PIC_COMMAND_SETCAMERAAGC 16 | ||
26 | #define SONY_PIC_COMMAND_GETCAMERADIRECTION 17 /* obsolete */ | ||
27 | #define SONY_PIC_COMMAND_GETCAMERAROMVERSION 18 /* obsolete */ | ||
28 | #define SONY_PIC_COMMAND_GETCAMERAREVISION 19 /* obsolete */ | ||
29 | |||
30 | int sony_pic_camera_command(int command, u8 value); | ||
31 | |||
32 | #endif /* __KERNEL__ */ | ||
33 | |||
34 | #endif /* _SONYLAPTOP_H_ */ | ||