|
@@ -234,7 +234,7 @@ static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,
|
|
|
static void virtio_gpu_evict_flags(struct ttm_buffer_object *bo,
|
|
|
struct ttm_placement *placement)
|
|
|
{
|
|
|
- static struct ttm_place placements = {
|
|
|
+ static const struct ttm_place placements = {
|
|
|
.fpfn = 0,
|
|
|
.lpfn = 0,
|
|
|
.flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_SYSTEM,
|