]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/joystick.h
include of <linux/types.h> is preferred over <asm/types.h>
[linux-2.6-omap-h63xx.git] / include / linux / joystick.h
index 5fd20ddd7ae3b3ff4319b5d9e284dcbd6eafb58b..9e20c29c1e1401d1f814476087436d93fdb83ba0 100644 (file)
@@ -2,8 +2,6 @@
 #define _LINUX_JOYSTICK_H
 
 /*
- * $Id: joystick.h,v 1.3 2000/11/30 11:07:05 vojtech Exp $
- *
  *  Copyright (C) 1996-2000 Vojtech Pavlik
  *
  *  Sponsored by SuSE
@@ -29,7 +27,7 @@
  * Vojtech Pavlik, Ucitelska 1576, Prague 8, 182 00 Czech Republic
  */
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <linux/input.h>
 
 /*
@@ -111,25 +109,25 @@ struct js_corr {
 #define JS_SET_ALL             8
 
 struct JS_DATA_TYPE {
-       int32_t buttons;
-       int32_t x;
-       int32_t y;
+       __s32 buttons;
+       __s32 x;
+       __s32 y;
 };
 
 struct JS_DATA_SAVE_TYPE_32 {
-       int32_t JS_TIMEOUT;
-       int32_t BUSY;
-       int32_t JS_EXPIRETIME;
-       int32_t JS_TIMELIMIT;
+       __s32 JS_TIMEOUT;
+       __s32 BUSY;
+       __s32 JS_EXPIRETIME;
+       __s32 JS_TIMELIMIT;
        struct JS_DATA_TYPE JS_SAVE;
        struct JS_DATA_TYPE JS_CORR;
 };
 
 struct JS_DATA_SAVE_TYPE_64 {
-       int32_t JS_TIMEOUT;
-       int32_t BUSY;
-       int64_t JS_EXPIRETIME;
-       int64_t JS_TIMELIMIT;
+       __s32 JS_TIMEOUT;
+       __s32 BUSY;
+       __s64 JS_EXPIRETIME;
+       __s64 JS_TIMELIMIT;
        struct JS_DATA_TYPE JS_SAVE;
        struct JS_DATA_TYPE JS_CORR;
 };