]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/nouveau/nv50_fence.c
drm/nouveau: s/mem/reg/ for struct ttm_mem_reg variables
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / nv50_fence.c
index 1e3ac3f8edb28d6fa9d073d9c54aa8c0003e4620..a369d978e267f4d0b8eae2c2c5bc7f15ba40483c 100644 (file)
@@ -37,9 +37,9 @@ nv50_fence_context_new(struct nouveau_channel *chan)
 {
        struct nv10_fence_priv *priv = chan->drm->fence;
        struct nv10_fence_chan *fctx;
-       struct ttm_mem_reg *mem = &priv->bo->bo.mem;
-       u32 start = mem->start * PAGE_SIZE;
-       u32 limit = start + mem->size - 1;
+       struct ttm_mem_reg *reg = &priv->bo->bo.mem;
+       u32 start = reg->start * PAGE_SIZE;
+       u32 limit = start + reg->size - 1;
        int ret;
 
        fctx = chan->fence = kzalloc(sizeof(*fctx), GFP_KERNEL);