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
parent3889e8510028aa7de0ff84f90cb552a9bb75f0b9 (diff)
parent0d30176819c8738b012ec623c7b3db19df818e70 (diff)
downloadlinux-a48a7b6b54927159bac77735df00e5b9fc3415fb.tar.gz
linux-a48a7b6b54927159bac77735df00e5b9fc3415fb.tar.bz2
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;