diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2022-07-23 11:40:32 +0530 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-07-23 20:10:46 +0200 |
commit | 1a9c9657ba095e3b330daaef75e53329aa989195 (patch) | |
tree | eedc7a4685ddf73aef887a64f0b8ff4dbbd783ee /drivers/hid/amd-sfh-hid | |
parent | 93ce5e0231d79189be4d9e5f9295807b18941419 (diff) |
HID: amd_sfh: Fix implicit declaration error on i386
Add depended header file to fix error on i386 due to implicit
declaration of function ‘writeq’.
Fixes: 93ce5e0231d7 ("HID: amd_sfh: Implement SFH1.1 functionality")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/amd-sfh-hid')
-rw-r--r-- | drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c b/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c index 14a1578055b6..c6df959ec725 100644 --- a/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c +++ b/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c @@ -7,7 +7,9 @@ * * Author: Basavaraj Natikar <Basavaraj.Natikar@amd.com> */ +#include <linux/io-64-nonatomic-lo-hi.h> #include <linux/iopoll.h> + #include "amd_sfh_interface.h" static int amd_sfh_wait_response(struct amd_mp2_dev *mp2, u8 sid, u32 cmd_id) |