diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/input.h | 13 | ||||
| -rw-r--r-- | include/linux/m48t86.h | 4 | ||||
| -rw-r--r-- | include/linux/mmzone.h | 1 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 1 | ||||
| -rw-r--r-- | include/linux/vt_kern.h | 5 |
5 files changed, 9 insertions, 15 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 50e338d2ffda..ce1a756c4c30 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
| @@ -345,6 +345,8 @@ struct input_absinfo { | |||
| 345 | #define KEY_SAVE 234 | 345 | #define KEY_SAVE 234 |
| 346 | #define KEY_DOCUMENTS 235 | 346 | #define KEY_DOCUMENTS 235 |
| 347 | 347 | ||
| 348 | #define KEY_BATTERY 236 | ||
| 349 | |||
| 348 | #define KEY_UNKNOWN 240 | 350 | #define KEY_UNKNOWN 240 |
| 349 | 351 | ||
| 350 | #define BTN_MISC 0x100 | 352 | #define BTN_MISC 0x100 |
| @@ -577,14 +579,9 @@ struct input_absinfo { | |||
| 577 | * Switch events | 579 | * Switch events |
| 578 | */ | 580 | */ |
| 579 | 581 | ||
| 580 | #define SW_0 0x00 | 582 | #define SW_LID 0x00 /* set = lid shut */ |
| 581 | #define SW_1 0x01 | 583 | #define SW_TABLET_MODE 0x01 /* set = tablet mode */ |
| 582 | #define SW_2 0x02 | 584 | #define SW_HEADPHONE_INSERT 0x02 /* set = inserted */ |
| 583 | #define SW_3 0x03 | ||
| 584 | #define SW_4 0x04 | ||
| 585 | #define SW_5 0x05 | ||
| 586 | #define SW_6 0x06 | ||
| 587 | #define SW_7 0x07 | ||
| 588 | #define SW_MAX 0x0f | 585 | #define SW_MAX 0x0f |
| 589 | 586 | ||
| 590 | /* | 587 | /* |
diff --git a/include/linux/m48t86.h b/include/linux/m48t86.h index 9065199319d0..915d6b4f0f89 100644 --- a/include/linux/m48t86.h +++ b/include/linux/m48t86.h | |||
| @@ -11,6 +11,6 @@ | |||
| 11 | 11 | ||
| 12 | struct m48t86_ops | 12 | struct m48t86_ops |
| 13 | { | 13 | { |
| 14 | void (*writeb)(unsigned char value, unsigned long addr); | 14 | void (*writebyte)(unsigned char value, unsigned long addr); |
| 15 | unsigned char (*readb)(unsigned long addr); | 15 | unsigned char (*readbyte)(unsigned long addr); |
| 16 | }; | 16 | }; |
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 36740354d4db..2d8337150493 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/seqlock.h> | 15 | #include <linux/seqlock.h> |
| 16 | #include <linux/nodemask.h> | 16 | #include <linux/nodemask.h> |
| 17 | #include <asm/atomic.h> | 17 | #include <asm/atomic.h> |
| 18 | #include <asm/page.h> | ||
| 18 | 19 | ||
| 19 | /* Free memory management - zoned buddy allocator. */ | 20 | /* Free memory management - zoned buddy allocator. */ |
| 20 | #ifndef CONFIG_FORCE_MAX_ZONEORDER | 21 | #ifndef CONFIG_FORCE_MAX_ZONEORDER |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index d6fe048376ab..590dc6dca315 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -1231,6 +1231,7 @@ | |||
| 1231 | #define PCI_DEVICE_ID_VIA_8380_0 0x0204 | 1231 | #define PCI_DEVICE_ID_VIA_8380_0 0x0204 |
| 1232 | #define PCI_DEVICE_ID_VIA_3238_0 0x0238 | 1232 | #define PCI_DEVICE_ID_VIA_3238_0 0x0238 |
| 1233 | #define PCI_DEVICE_ID_VIA_PT880 0x0258 | 1233 | #define PCI_DEVICE_ID_VIA_PT880 0x0258 |
| 1234 | #define PCI_DEVICE_ID_VIA_PT880ULTRA 0x0308 | ||
| 1234 | #define PCI_DEVICE_ID_VIA_PX8X0_0 0x0259 | 1235 | #define PCI_DEVICE_ID_VIA_PX8X0_0 0x0259 |
| 1235 | #define PCI_DEVICE_ID_VIA_3269_0 0x0269 | 1236 | #define PCI_DEVICE_ID_VIA_3269_0 0x0269 |
| 1236 | #define PCI_DEVICE_ID_VIA_K8T800PRO_0 0x0282 | 1237 | #define PCI_DEVICE_ID_VIA_K8T800PRO_0 0x0282 |
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index 530ae3f4248c..fab5aed8ca31 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h | |||
| @@ -73,11 +73,6 @@ int con_copy_unimap(struct vc_data *dst_vc, struct vc_data *src_vc); | |||
| 73 | int vt_waitactive(int vt); | 73 | int vt_waitactive(int vt); |
| 74 | void change_console(struct vc_data *new_vc); | 74 | void change_console(struct vc_data *new_vc); |
| 75 | void reset_vc(struct vc_data *vc); | 75 | void reset_vc(struct vc_data *vc); |
| 76 | #ifdef CONFIG_VT | ||
| 77 | int is_console_suspend_safe(void); | ||
| 78 | #else | ||
| 79 | static inline int is_console_suspend_safe(void) { return 1; } | ||
| 80 | #endif | ||
| 81 | 76 | ||
| 82 | /* | 77 | /* |
| 83 | * vc_screen.c shares this temporary buffer with the console write code so that | 78 | * vc_screen.c shares this temporary buffer with the console write code so that |
