Displaying 2 results from an estimated 2 matches for "813042c".
Did you mean:
813041a
2015 Dec 11
1
[PATCH] ttm/drm: constify ttm_backend_func structures
...m_pool_unpopulate(ttm);
}
-static struct ttm_backend_func vmw_ttm_func = {
+static const struct ttm_backend_func vmw_ttm_func = {
.bind = vmw_ttm_bind,
.unbind = vmw_ttm_unbind,
.destroy = vmw_ttm_destroy,
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 813042c..c43efa4 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -113,7 +113,7 @@ enum ttm_caching_state {
struct ttm_tt {
struct ttm_bo_device *bdev;
- struct ttm_backend_func *func;
+ const struct ttm_backend_func *func;
struct page *dummy_read_page;
struct...
2015 Dec 11
1
[PATCH] ttm/drm: constify ttm_backend_func structures
...m_pool_unpopulate(ttm);
}
-static struct ttm_backend_func vmw_ttm_func = {
+static const struct ttm_backend_func vmw_ttm_func = {
.bind = vmw_ttm_bind,
.unbind = vmw_ttm_unbind,
.destroy = vmw_ttm_destroy,
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 813042c..c43efa4 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -113,7 +113,7 @@ enum ttm_caching_state {
struct ttm_tt {
struct ttm_bo_device *bdev;
- struct ttm_backend_func *func;
+ const struct ttm_backend_func *func;
struct page *dummy_read_page;
struct...