summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/gem.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-11-16 23:39:18 +0100
committerDave Airlie <airlied@redhat.com>2011-12-06 10:43:13 +0100
commit770179d5e35c191e2c760d37abd5572ccdf6a002 (patch)
tree04f10728d5ee4ede65b7168d836f17dc23523bc5 /drivers/gpu/drm/gma500/gem.c
parentdrm/gma500: begin pruning dead bits of API (diff)
downloadlinux-770179d5e35c191e2c760d37abd5572ccdf6a002.tar.xz
linux-770179d5e35c191e2c760d37abd5572ccdf6a002.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/gem.c b/drivers/gpu/drm/gma500/gem.c
index 65fdd6b8ab16..d74367993989 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);
}