kernel: bump 6.1 to 6.1.84
[openwrt/staging/pepe2k.git] / target / linux / bcm27xx / patches-6.1 / 950-0165-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch
1 From aeb87c00a9efd574ab2a5b6018fc5aa9c97ee912 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 @@ -1774,7 +1774,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