bcm27xx: add kernel 5.10 support
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.10 / 950-0112-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch
1 From ec20cd708f7497a77d8832d5e043214b1a414f94 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Mon, 29 Oct 2018 16:20:46 +0000
4 Subject: [PATCH] staging: mmal-vchiq: Avoid use of bool in structures
5
6 Fixes up a checkpatch error "Avoid using bool structure members
7 because of possible alignment issues".
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
10 ---
11 drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
15 +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
16 @@ -1775,7 +1775,7 @@ int vchiq_mmal_component_enable(struct v
17
18 ret = enable_component(instance, component);
19 if (ret == 0)
20 - component->enabled = true;
21 + component->enabled = 1;
22
23 mutex_unlock(&instance->vchiq_mutex);
24