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 <[email protected]>
Cc: David Airlie <[email protected]>
Cc: [email protected]
This commit is contained in:
Arnd Bergmann 2010-07-06 18:54:47 +02:00
commit dc880abef7
13 changed files with 13 additions and 0 deletions

View file

@ -136,6 +136,7 @@
#ifdef CONFIG_COMPAT
.compat_ioctl = i915_compat_ioctl,
#endif
.llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,