diff options
Diffstat (limited to 'drivers/gpu/drm')
| -rw-r--r-- | drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c index 4871025f7573..2e3e0bdb8932 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | |||
| @@ -283,7 +283,7 @@ static void hibmc_bo_unref(struct hibmc_bo **bo) | |||
| 283 | return; | 283 | return; |
| 284 | 284 | ||
| 285 | tbo = &((*bo)->bo); | 285 | tbo = &((*bo)->bo); |
| 286 | ttm_bo_unref(&tbo); | 286 | ttm_bo_put(tbo); |
| 287 | *bo = NULL; | 287 | *bo = NULL; |
| 288 | } | 288 | } |
| 289 | 289 | ||
