Skip to content

Commit a8641d7

Browse files
basuamdJiri Kosina
authored andcommitted
HID: amd_sfh: Move bus declaration outside of amd-sfh
This should allow external drivers to reference this bus ID reservation and detect data coming from amd-sfh. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 863fcfe commit a8641d7

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/amd-sfh-hid/amd_sfh_hid.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#define AMDSFH_HID_H
1313

1414
#define MAX_HID_DEVICES 5
15-
#define BUS_AMD_SFH 0x20
1615
#define AMD_SFH_HID_VENDOR 0x1022
1716
#define AMD_SFH_HID_PRODUCT 0x0001
1817

include/uapi/linux/input.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ struct input_mask {
271271
#define BUS_RMI 0x1D
272272
#define BUS_CEC 0x1E
273273
#define BUS_INTEL_ISHTP 0x1F
274+
#define BUS_AMD_SFH 0x20
274275

275276
/*
276277
* MT_TOOL types

0 commit comments

Comments
 (0)