summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-07-06 18:54:47 +0200
committerArnd Bergmann <arnd@arndb.de>2010-09-11 20:59:37 +0200
commit7f341119d75db757a025613fe598f728270c80e0 (patch)
treed7fbb08c08aecc374ed51c9dfd5f3fe132d447f1 /Documentation
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff)
drm: use noop_llseek
The drm device drivers currently allow seeking on the character device but never care about the actual file position. When we change the default llseek operation to be no_llseek, calling llseek on a drm device would return an error condition, which is an API change. Explicitly setting noop_llseek lets us keep the current API. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: David Airlie <airlied@linux.ie> Cc: dri-devel@lists.freedesktop.org
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/drm.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 910c923a9b86..2861055afd7a 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -136,6 +136,7 @@
#ifdef CONFIG_COMPAT
.compat_ioctl = i915_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,