From: Dave Stevenson Date: Mon, 29 Oct 2018 16:20:46 +0000 (+0000) Subject: staging: mmal-vchiq: Avoid use of bool in structures X-Git-Tag: accepted/tizen/unified/20200709.164653~1120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80696d22fcff1840251e534011dcb2a241063817;p=platform%2Fkernel%2Flinux-rpi.git staging: mmal-vchiq: Avoid use of bool in structures Fixes up a checkpatch error "Avoid using bool structure members because of possible alignment issues". Signed-off-by: Dave Stevenson --- diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c index f619697..38db20d 100644 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c @@ -1759,7 +1759,7 @@ int vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance, ret = enable_component(instance, component); if (ret == 0) - component->enabled = true; + component->enabled = 1; mutex_unlock(&instance->vchiq_mutex);