projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm: define drm_compat_ioctl NULL on CONFIG_COMPAT=n and reduce #ifdefs
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
i810
/
i810_dma.c
diff --git
a/drivers/gpu/drm/i810/i810_dma.c
b/drivers/gpu/drm/i810/i810_dma.c
index d91856779bebca20a04f198da3ce486c907927e4..ab4e6cbe1f8b717fe6885e1d75fea89a89e786f7 100644
(file)
--- a/
drivers/gpu/drm/i810/i810_dma.c
+++ b/
drivers/gpu/drm/i810/i810_dma.c
@@
-113,9
+113,7
@@
static const struct file_operations i810_buffer_fops = {
.release = drm_release,
.unlocked_ioctl = drm_ioctl,
.mmap = i810_mmap_buffers,
-#ifdef CONFIG_COMPAT
.compat_ioctl = drm_compat_ioctl,
-#endif
.llseek = noop_llseek,
};