drm/ttm: let struct ttm_device_funcs be placed in rodata
[linux-2.6-microblaze.git] / drivers / gpu / drm / ttm / ttm_device.c
index 64a59f4..df4cf54 100644 (file)
@@ -189,7 +189,7 @@ EXPORT_SYMBOL(ttm_device_swapout);
  * Returns:
  * !0: Failure.
  */
-int ttm_device_init(struct ttm_device *bdev, struct ttm_device_funcs *funcs,
+int ttm_device_init(struct ttm_device *bdev, const struct ttm_device_funcs *funcs,
                    struct device *dev, struct address_space *mapping,
                    struct drm_vma_offset_manager *vma_manager,
                    bool use_dma_alloc, bool use_dma32)