drm/legacy: Fix type for drm_local_map.offset
[linux-2.6-microblaze.git] / include / drm / drm_legacy.h
index dcef359..aed382c 100644 (file)
@@ -136,7 +136,7 @@ struct drm_sg_mem {
  * Kernel side of a mapping
  */
 struct drm_local_map {
-       resource_size_t offset;  /**< Requested physical address (0 for SAREA)*/
+       dma_addr_t offset;       /**< Requested physical address (0 for SAREA)*/
        unsigned long size;      /**< Requested physical size (bytes) */
        enum drm_map_type type;  /**< Type of memory to map */
        enum drm_map_flags flags;        /**< Flags */