summaryrefslogtreecommitdiffstats
path: root/include/soc/bcm2835/raspberrypi-firmware.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/soc/bcm2835/raspberrypi-firmware.h')
-rw-r--r--include/soc/bcm2835/raspberrypi-firmware.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h
index ab955591cb72..73cac8d0287e 100644
--- a/include/soc/bcm2835/raspberrypi-firmware.h
+++ b/include/soc/bcm2835/raspberrypi-firmware.h
@@ -170,7 +170,7 @@ struct rpi_firmware_clk_rate_request {
#define RPI_FIRMWARE_CLK_RATE_REQUEST(_id) \
{ \
- .id = _id, \
+ .id = cpu_to_le32(_id), \
}
#if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)