From: Yuanhan Liu Date: Wed, 20 Jul 2011 08:08:51 +0000 (+0800) Subject: intel: fix the wrong method check for bo_get_subdata X-Git-Tag: submit/1.0/20121108.012404~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce317a6d09bb93cff73703b06e5a5bc3cc0b1c6a;p=profile%2Fivi%2Flibdrm.git intel: fix the wrong method check for bo_get_subdata It's going to call bo_get_subdata method, but not bo_subdata Signed-off-by: Yuanhan Liu --- diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c index ab57427..905556f 100644 --- a/intel/intel_bufmgr.c +++ b/intel/intel_bufmgr.c @@ -104,7 +104,7 @@ drm_intel_bo_get_subdata(drm_intel_bo *bo, unsigned long offset, unsigned long size, void *data) { int ret; - if (bo->bufmgr->bo_subdata) + if (bo->bufmgr->bo_get_subdata) return bo->bufmgr->bo_get_subdata(bo, offset, size, data); if (size == 0 || data == NULL)