dma-buf-map: Rename to iosys-map
[linux-block.git] / include / drm / drm_gem_framebuffer_helper.h
index 905727719ead3917bfce59a459778808bca2e719..1091e4fa08cb85eeecff51516befb6e0aabc099e 100644 (file)
@@ -2,7 +2,7 @@
 #define __DRM_GEM_FB_HELPER_H__
 
 #include <linux/dma-buf.h>
-#include <linux/dma-buf-map.h>
+#include <linux/iosys-map.h>
 
 #include <drm/drm_fourcc.h>
 
@@ -40,10 +40,10 @@ drm_gem_fb_create_with_dirty(struct drm_device *dev, struct drm_file *file,
                             const struct drm_mode_fb_cmd2 *mode_cmd);
 
 int drm_gem_fb_vmap(struct drm_framebuffer *fb,
-                   struct dma_buf_map map[static DRM_FORMAT_MAX_PLANES],
-                   struct dma_buf_map data[DRM_FORMAT_MAX_PLANES]);
+                   struct iosys_map map[static DRM_FORMAT_MAX_PLANES],
+                   struct iosys_map data[DRM_FORMAT_MAX_PLANES]);
 void drm_gem_fb_vunmap(struct drm_framebuffer *fb,
-                      struct dma_buf_map map[static DRM_FORMAT_MAX_PLANES]);
+                      struct iosys_map map[static DRM_FORMAT_MAX_PLANES]);
 int drm_gem_fb_begin_cpu_access(struct drm_framebuffer *fb, enum dma_data_direction dir);
 void drm_gem_fb_end_cpu_access(struct drm_framebuffer *fb, enum dma_data_direction dir);