summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-01 16:27:03 -0700
committerEric Anholt <eric@anholt.net>2008-05-01 16:27:03 -0700
commitd2529d13961f0df00754393e1ad9b72da5e998a4 (patch)
treefa50bf0bf3e3b02c5776bd304f23e176bd7626f6 /linux-core
parent793549116ee6e9202fc7e474bd382eb19ffeb87f (diff)
Remove _args from gem ioctl argument structure tags.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_gem.c10
-rw-r--r--linux-core/i915_gem.c8
2 files changed, 9 insertions, 9 deletions
diff --git a/linux-core/drm_gem.c b/linux-core/drm_gem.c
index 09c0fe85..7326d6bb 100644
--- a/linux-core/drm_gem.c
+++ b/linux-core/drm_gem.c
@@ -157,7 +157,7 @@ int
drm_gem_alloc_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
- struct drm_gem_alloc_args *args = data;
+ struct drm_gem_alloc *args = data;
struct drm_gem_object *obj;
int handle, ret;
@@ -202,7 +202,7 @@ int
drm_gem_unreference_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
- struct drm_gem_unreference_args *args = data;
+ struct drm_gem_unreference *args = data;
int ret;
ret = drm_gem_handle_delete(dev, file_priv, args->handle);
@@ -219,7 +219,7 @@ int
drm_gem_pread_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
- struct drm_gem_pread_args *args = data;
+ struct drm_gem_pread *args = data;
struct drm_gem_object *obj;
ssize_t read;
loff_t offset;
@@ -256,7 +256,7 @@ int
drm_gem_mmap_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
- struct drm_gem_mmap_args *args = data;
+ struct drm_gem_mmap *args = data;
struct drm_gem_object *obj;
loff_t offset;
@@ -286,7 +286,7 @@ int
drm_gem_pwrite_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
- struct drm_gem_pwrite_args *args = data;
+ struct drm_gem_pwrite *args = data;
struct drm_gem_object *obj;
ssize_t written;
loff_t offset;
diff --git a/linux-core/i915_gem.c b/linux-core/i915_gem.c
index fc9e53cf..09c94c3b 100644
--- a/linux-core/i915_gem.c
+++ b/linux-core/i915_gem.c
@@ -329,8 +329,8 @@ err:
}
int
-i915_gem_pin(struct drm_device *dev, void *data,
- struct drm_file *file_priv)
+i915_gem_pin_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv)
{
struct drm_i915_gem_pin *args = data;
struct drm_gem_object *obj;
@@ -353,8 +353,8 @@ i915_gem_pin(struct drm_device *dev, void *data,
}
int
-i915_gem_unpin(struct drm_device *dev, void *data,
- struct drm_file *file_priv)
+i915_gem_unpin_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv)
{
struct drm_i915_gem_pin *args = data;
struct drm_gem_object *obj;