summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-09-20 13:09:15 +0000
committerSven Wegener <sven.wegener@stealer.net>2009-02-08 23:35:59 +0000
commit02c1e5cecdec340cc34d0e715e14ed4838f65791 (patch)
tree43a20f2eb18b352264f1a24d4674d2329a884a13
parent043c51e1daa8139b9b1dc8c934aa8c0da4f1cc4a (diff)
i915: sparse fixes
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-rw-r--r--drivers/gpu/drm/i915/i915_ioc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_ioc32.c b/drivers/gpu/drm/i915/i915_ioc32.c
index 1fe68a251b75..c07c11b1d4e5 100644
--- a/drivers/gpu/drm/i915/i915_ioc32.c
+++ b/drivers/gpu/drm/i915/i915_ioc32.c
@@ -182,7 +182,7 @@ static int compat_i915_alloc(struct file *file, unsigned int cmd,
DRM_IOCTL_I915_ALLOC, (unsigned long)request);
}
-drm_ioctl_compat_t *i915_compat_ioctls[] = {
+static drm_ioctl_compat_t *i915_compat_ioctls[] = {
[DRM_I915_BATCHBUFFER] = compat_i915_batchbuffer,
[DRM_I915_CMDBUFFER] = compat_i915_cmdbuffer,
[DRM_I915_GETPARAM] = compat_i915_getparam,