David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 1996-2000 Vojtech Pavlik |
| 4 | * |
| 5 | * Sponsored by SuSE |
| 6 | */ |
| 7 | /* |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 8 | */ |
| 9 | #ifndef _LINUX_JOYSTICK_H |
| 10 | #define _LINUX_JOYSTICK_H |
| 11 | |
| 12 | #include <uapi/linux/joystick.h> |
| 13 | |
| 14 | #if BITS_PER_LONG == 64 |
| 15 | #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64 |
| 16 | #elif BITS_PER_LONG == 32 |
| 17 | #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_32 |
| 18 | #else |
| 19 | #error Unexpected BITS_PER_LONG |
| 20 | #endif |
| 21 | #endif /* _LINUX_JOYSTICK_H */ |