diff options
Diffstat (limited to 'include/linux/toshiba.h')
-rw-r--r-- | include/linux/toshiba.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/linux/toshiba.h b/include/linux/toshiba.h index 772dedbc3a22..915c3bb164ac 100644 --- a/include/linux/toshiba.h +++ b/include/linux/toshiba.h | |||
@@ -16,25 +16,10 @@ | |||
16 | * General Public License for more details. | 16 | * General Public License for more details. |
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | |||
20 | #ifndef _LINUX_TOSHIBA_H | 19 | #ifndef _LINUX_TOSHIBA_H |
21 | #define _LINUX_TOSHIBA_H | 20 | #define _LINUX_TOSHIBA_H |
22 | 21 | ||
23 | #define TOSH_PROC "/proc/toshiba" | 22 | #include <uapi/linux/toshiba.h> |
24 | #define TOSH_DEVICE "/dev/toshiba" | ||
25 | #define TOSH_SMM _IOWR('t', 0x90, int) /* broken: meant 24 bytes */ | ||
26 | |||
27 | typedef struct { | ||
28 | unsigned int eax; | ||
29 | unsigned int ebx __attribute__ ((packed)); | ||
30 | unsigned int ecx __attribute__ ((packed)); | ||
31 | unsigned int edx __attribute__ ((packed)); | ||
32 | unsigned int esi __attribute__ ((packed)); | ||
33 | unsigned int edi __attribute__ ((packed)); | ||
34 | } SMMRegisters; | ||
35 | 23 | ||
36 | #ifdef __KERNEL__ | ||
37 | int tosh_smm(SMMRegisters *regs); | 24 | int tosh_smm(SMMRegisters *regs); |
38 | #endif /* __KERNEL__ */ | ||
39 | |||
40 | #endif | 25 | #endif |