Skip to content

Commit

Permalink
HID: sony: Use BIT(x) macro to define quirks constants
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Sven Eckelmann authored and Jiri Kosina committed Nov 20, 2013
1 parent 92b5c41 commit f1c458c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/hid/hid-sony.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

#include "hid-ids.h"

#define VAIO_RDESC_CONSTANT (1 << 0)
#define SIXAXIS_CONTROLLER_USB (1 << 1)
#define SIXAXIS_CONTROLLER_BT (1 << 2)
#define BUZZ_CONTROLLER (1 << 3)
#define PS3REMOTE (1 << 4)
#define VAIO_RDESC_CONSTANT BIT(0)
#define SIXAXIS_CONTROLLER_USB BIT(1)
#define SIXAXIS_CONTROLLER_BT BIT(2)
#define BUZZ_CONTROLLER BIT(3)
#define PS3REMOTE BIT(4)

static const u8 sixaxis_rdesc_fixup[] = {
0x95, 0x13, 0x09, 0x01, 0x81, 0x02, 0x95, 0x0C,
Expand Down

0 comments on commit f1c458c

Please sign in to comment.