/* sync buffers */
                for (plane = 0; plane < vb->num_planes; ++plane)
                        call_void_memop(vb, finish, vb->planes[plane].mem_priv);
-               vb->synced = false;
+               vb->synced = 0;
        }
 
        spin_lock_irqsave(&q->done_lock, flags);
        for (plane = 0; plane < vb->num_planes; ++plane)
                call_void_memop(vb, prepare, vb->planes[plane].mem_priv);
 
-       vb->synced = true;
-       vb->prepared = true;
+       vb->synced = 1;
+       vb->prepared = 1;
        vb->state = orig_state;
 
        return 0;
        }
 
        call_void_vb_qop(vb, buf_finish, vb);
-       vb->prepared = false;
+       vb->prepared = 0;
 
        if (pindex)
                *pindex = vb->index;
                        for (plane = 0; plane < vb->num_planes; ++plane)
                                call_void_memop(vb, finish,
                                                vb->planes[plane].mem_priv);
-                       vb->synced = false;
+                       vb->synced = 0;
                }
 
                if (vb->prepared) {
                        call_void_vb_qop(vb, buf_finish, vb);
-                       vb->prepared = false;
+                       vb->prepared = 0;
                }
                __vb2_dqbuf(vb);
 
 
         * vb2_plane:           per-plane information; do not change
         */
        enum vb2_buffer_state   state;
-       bool                    synced;
-       bool                    prepared;
+       unsigned int            synced:1;
+       unsigned int            prepared:1;
 
        struct vb2_plane        planes[VB2_MAX_PLANES];
        struct list_head        queued_entry;