diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2022-05-09 18:50:25 +0530 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-05-11 14:16:26 +0200 |
commit | a8641d7d8500d41d312350470464e03f3df3672a (patch) | |
tree | a154a80d829d0d4e2b974e1939ac76e847d410c8 | |
parent | 863fcfec6203363d92190ff0b8c93e6030e41fa9 (diff) | |
download | linux-a8641d7d8500d41d312350470464e03f3df3672a.tar.bz2 |
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>
-rw-r--r-- | drivers/hid/amd-sfh-hid/amd_sfh_hid.h | 1 | ||||
-rw-r--r-- | include/uapi/linux/input.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h index cb04f47c8648..ad264db63180 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h +++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h @@ -12,7 +12,6 @@ #define AMDSFH_HID_H #define MAX_HID_DEVICES 5 -#define BUS_AMD_SFH 0x20 #define AMD_SFH_HID_VENDOR 0x1022 #define AMD_SFH_HID_PRODUCT 0x0001 diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index ee3127461ee0..ef4257ab3026 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -271,6 +271,7 @@ struct input_mask { #define BUS_RMI 0x1D #define BUS_CEC 0x1E #define BUS_INTEL_ISHTP 0x1F +#define BUS_AMD_SFH 0x20 /* * MT_TOOL types |