X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fjoystick.h;h=e2d3a18af4566a9cd7dd4e1f123162d894031832;hb=86245b8507ce901c0152ec98a26832434c93262b;hp=06b9af77eb7f8eca71b6476013ea69ed32ee909e;hpb=603fff54420a0ccc4c3b48bfef43896fb4e33161;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/joystick.h b/include/linux/joystick.h index 06b9af77eb7..e2d3a18af45 100644 --- a/include/linux/joystick.h +++ b/include/linux/joystick.h @@ -134,6 +134,7 @@ struct JS_DATA_SAVE_TYPE_64 { struct JS_DATA_TYPE JS_CORR; }; +#ifdef __KERNEL__ #if BITS_PER_LONG == 64 #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64 #elif BITS_PER_LONG == 32 @@ -141,5 +142,6 @@ struct JS_DATA_SAVE_TYPE_64 { #else #error Unexpected BITS_PER_LONG #endif +#endif #endif /* _LINUX_JOYSTICK_H */