bcm27xx: add linux 5.4 support
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0013-firmware-Updated-mailbox-header.patch
1 From 451f9c888e9728142832b3acb2df16bda63366ce Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Mon, 25 Jan 2016 17:25:12 +0000
4 Subject: [PATCH] firmware: Updated mailbox header
5
6 ---
7 include/soc/bcm2835/raspberrypi-firmware.h | 3 +++
8 1 file changed, 3 insertions(+)
9
10 --- a/include/soc/bcm2835/raspberrypi-firmware.h
11 +++ b/include/soc/bcm2835/raspberrypi-firmware.h
12 @@ -9,6 +9,8 @@
13 #include <linux/types.h>
14 #include <linux/of_device.h>
15
16 +#define RPI_FIRMWARE_CHAN_FB 1
17 +
18 struct rpi_firmware;
19
20 enum rpi_firmware_property_status {
21 @@ -159,5 +161,6 @@ static inline struct rpi_firmware *rpi_f
22 return NULL;
23 }
24 #endif
25 +int rpi_firmware_transaction(struct rpi_firmware *fw, u32 chan, u32 data);
26
27 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */