Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * Copyright (C) 1996-2000 Vojtech Pavlik |
| 4 | * |
| 5 | * Sponsored by SuSE |
| 6 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | */ |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 9 | #ifndef _LINUX_JOYSTICK_H |
| 10 | #define _LINUX_JOYSTICK_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 12 | #include <uapi/linux/joystick.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Jeremy Fitzhardinge | 024ac44 | 2005-05-29 02:26:31 -0500 | [diff] [blame] | 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif /* _LINUX_JOYSTICK_H */ |