提交 4dcbca4d 编写于 作者: D Dave Stevenson 提交者: Zheng Zengkai

staging: mmal-vchiq: Avoid use of bool in structures

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

Fixes up a checkpatch error "Avoid using bool structure members
because of possible alignment issues".
Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 28210c29
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册