blob: 41b833b012f5711c4f52158a85d54704205c0940 [file] [log] [blame]
Thomas Gleixner1a59d1b82019-05-27 08:55:05 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * Copyright (C) 1996-2000 Vojtech Pavlik
4 *
5 * Sponsored by SuSE
6 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07007/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 */
David Howells607ca462012-10-13 10:46:48 +01009#ifndef _LINUX_JOYSTICK_H
10#define _LINUX_JOYSTICK_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
David Howells607ca462012-10-13 10:46:48 +010012#include <uapi/linux/joystick.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Jeremy Fitzhardinge024ac442005-05-29 02:26:31 -050014#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 Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* _LINUX_JOYSTICK_H */