aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/toshiba.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
commit607ca46e97a1b6594b29647d98a32d545c24bdff (patch)
tree30f4c0784bfddb57332cdc0678bd06d1e77fa185 /include/linux/toshiba.h
parent08cce05c5a91f5017f4edc9866cf026908c73f9f (diff)
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/toshiba.h')
-rw-r--r--include/linux/toshiba.h17
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
27typedef 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__
37int tosh_smm(SMMRegisters *regs); 24int tosh_smm(SMMRegisters *regs);
38#endif /* __KERNEL__ */
39
40#endif 25#endif