mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 15:42:46 +00:00
staging: ion: fix spelling mistake in function name "detatch" -> "detach"
There is a spelling mistake in the function name ion_dma_buf_detatch. Fix it by removing the extraneous t. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Hridya Valsaraju <hridya@google.com> Link: https://lore.kernel.org/r/20200805112655.17696-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9123e3a74e
commit
0f86cfff54
1 changed files with 3 additions and 3 deletions
|
@ -205,8 +205,8 @@ static int ion_dma_buf_attach(struct dma_buf *dmabuf,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ion_dma_buf_detatch(struct dma_buf *dmabuf,
|
static void ion_dma_buf_detach(struct dma_buf *dmabuf,
|
||||||
struct dma_buf_attachment *attachment)
|
struct dma_buf_attachment *attachment)
|
||||||
{
|
{
|
||||||
struct ion_dma_buf_attachment *a = attachment->priv;
|
struct ion_dma_buf_attachment *a = attachment->priv;
|
||||||
struct ion_buffer *buffer = dmabuf->priv;
|
struct ion_buffer *buffer = dmabuf->priv;
|
||||||
|
@ -331,7 +331,7 @@ static const struct dma_buf_ops dma_buf_ops = {
|
||||||
.mmap = ion_mmap,
|
.mmap = ion_mmap,
|
||||||
.release = ion_dma_buf_release,
|
.release = ion_dma_buf_release,
|
||||||
.attach = ion_dma_buf_attach,
|
.attach = ion_dma_buf_attach,
|
||||||
.detach = ion_dma_buf_detatch,
|
.detach = ion_dma_buf_detach,
|
||||||
.begin_cpu_access = ion_dma_buf_begin_cpu_access,
|
.begin_cpu_access = ion_dma_buf_begin_cpu_access,
|
||||||
.end_cpu_access = ion_dma_buf_end_cpu_access,
|
.end_cpu_access = ion_dma_buf_end_cpu_access,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue