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 <dave.stevenson@raspberrypi.org>
This commit is contained in:
Dave Stevenson
2018-10-29 16:20:46 +00:00
committed by Dom Cobley
parent 7ee033a77b
commit 70396c93b9

View File

@@ -1775,7 +1775,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);