return 0;
 }
 
-static void ion_dma_buf_detatch(struct dma_buf *dmabuf,
-                               struct dma_buf_attachment *attachment)
+static void ion_dma_buf_detach(struct dma_buf *dmabuf,
+                              struct dma_buf_attachment *attachment)
 {
        struct ion_dma_buf_attachment *a = attachment->priv;
        struct ion_buffer *buffer = dmabuf->priv;
        .mmap = ion_mmap,
        .release = ion_dma_buf_release,
        .attach = ion_dma_buf_attach,
-       .detach = ion_dma_buf_detatch,
+       .detach = ion_dma_buf_detach,
        .begin_cpu_access = ion_dma_buf_begin_cpu_access,
        .end_cpu_access = ion_dma_buf_end_cpu_access,
 };