diff options
author | Alan Cox <alan@linux.intel.com> | 2011-11-16 22:39:18 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 09:43:13 (GMT) |
commit | 770179d5e35c191e2c760d37abd5572ccdf6a002 (patch) | |
tree | 04f10728d5ee4ede65b7168d836f17dc23523bc5 /drivers/gpu/drm/gma500/gem.c | |
parent | 61bedf702c81c47edf3bb0dec50e2de7c4537255 (diff) | |
download | linux-770179d5e35c191e2c760d37abd5572ccdf6a002.tar.xz |
gma500: Rename the ioctls to avoid clashing with the legacy drivers
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/gem.c')
-rw-r--r-- | drivers/gpu/drm/gma500/gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/gem.c b/drivers/gpu/drm/gma500/gem.c index 65fdd6b..d743679 100644 --- a/drivers/gpu/drm/gma500/gem.c +++ b/drivers/gpu/drm/gma500/gem.c @@ -274,13 +274,13 @@ int psb_gem_create_ioctl(struct drm_device *dev, void *data, { struct drm_psb_gem_create *args = data; int ret; - if (args->flags & PSB_GEM_CREATE_STOLEN) { + if (args->flags & GMA_GEM_CREATE_STOLEN) { ret = psb_gem_create_stolen(file, dev, args->size, &args->handle); if (ret == 0) return 0; /* Fall throguh */ - args->flags &= ~PSB_GEM_CREATE_STOLEN; + args->flags &= ~GMA_GEM_CREATE_STOLEN; } return psb_gem_create(file, dev, args->size, &args->handle); } |