summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scpi.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-08-24 15:51:54 +0200
committerArnd Bergmann <arnd@arndb.de>2017-08-24 15:51:54 +0200
commita48a7b6b54927159bac77735df00e5b9fc3415fb (patch)
treedfff87495b7e46d8b020f3a1f58ce0268215dc15 /drivers/firmware/arm_scpi.c
parentMerge tag 'samsung-drivers-4.14-2' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentfirmware: arm_scpi: fix endianness of dev_id in struct dev_pstate_set (diff)
downloadlinux-a48a7b6b54927159bac77735df00e5b9fc3415fb.tar.xz
linux-a48a7b6b54927159bac77735df00e5b9fc3415fb.zip
Merge tag 'scpi-fixes-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/drivers
Pull "ARM SCPI fixes for v4.14" from Sudeep Holla: Simple endianness fix for dev_id in dev_pstate_set structure * tag 'scpi-fixes-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux: firmware: arm_scpi: fix endianness of dev_id in struct dev_pstate_set
Diffstat (limited to 'drivers/firmware/arm_scpi.c')
-rw-r--r--drivers/firmware/arm_scpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c
index 59190c374696..7da9f1b83ebe 100644
--- a/drivers/firmware/arm_scpi.c
+++ b/drivers/firmware/arm_scpi.c
@@ -357,7 +357,7 @@ struct sensor_value {
} __packed;
struct dev_pstate_set {
- u16 dev_id;
+ __le16 dev_id;
u8 pstate;
} __packed;