mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
committed by
Dom Cobley
parent
7ee033a77b
commit
70396c93b9
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user