Message ID | 1311149331-6812-1-git-send-email-yuanhan.liu@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 20 Jul 2011 16:08:51 +0800, Yuanhan Liu <yuanhan.liu@linux.intel.com> wrote: > It's going to call bo_get_subdata method, but not bo_subdata > > Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Applied. Thanks!
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)
It's going to call bo_get_subdata method, but not bo_subdata Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> --- intel/intel_bufmgr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)