If we're going to export ion_alloc() for other drivers to use then let's
make an ion_free() helper function as well.

void ion_free(struct dma_buf *dmabuf)
{
        dma_buf_put(dmabuf);
}

regards,
dan carpenter

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to