diff options
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/i810/i810_dma.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/i830/i830_dma.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 84da748555bc..ff6690f4fc87 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c | |||
@@ -284,7 +284,8 @@ EXPORT_SYMBOL(drm_exit); | |||
284 | /** File operations structure */ | 284 | /** File operations structure */ |
285 | static const struct file_operations drm_stub_fops = { | 285 | static const struct file_operations drm_stub_fops = { |
286 | .owner = THIS_MODULE, | 286 | .owner = THIS_MODULE, |
287 | .open = drm_stub_open | 287 | .open = drm_stub_open, |
288 | .llseek = noop_llseek, | ||
288 | }; | 289 | }; |
289 | 290 | ||
290 | static int __init drm_core_init(void) | 291 | static int __init drm_core_init(void) |
diff --git a/drivers/gpu/drm/i810/i810_dma.c b/drivers/gpu/drm/i810/i810_dma.c index 61b4caf220fa..00f1bdaa65cd 100644 --- a/drivers/gpu/drm/i810/i810_dma.c +++ b/drivers/gpu/drm/i810/i810_dma.c | |||
@@ -119,6 +119,7 @@ static const struct file_operations i810_buffer_fops = { | |||
119 | .unlocked_ioctl = drm_ioctl, | 119 | .unlocked_ioctl = drm_ioctl, |
120 | .mmap = i810_mmap_buffers, | 120 | .mmap = i810_mmap_buffers, |
121 | .fasync = drm_fasync, | 121 | .fasync = drm_fasync, |
122 | .llseek = noop_llseek, | ||
122 | }; | 123 | }; |
123 | 124 | ||
124 | static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv) | 125 | static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv) |
diff --git a/drivers/gpu/drm/i830/i830_dma.c b/drivers/gpu/drm/i830/i830_dma.c index 671aa18415ac..5c6eb65f4e51 100644 --- a/drivers/gpu/drm/i830/i830_dma.c +++ b/drivers/gpu/drm/i830/i830_dma.c | |||
@@ -121,6 +121,7 @@ static const struct file_operations i830_buffer_fops = { | |||
121 | .unlocked_ioctl = drm_ioctl, | 121 | .unlocked_ioctl = drm_ioctl, |
122 | .mmap = i830_mmap_buffers, | 122 | .mmap = i830_mmap_buffers, |
123 | .fasync = drm_fasync, | 123 | .fasync = drm_fasync, |
124 | .llseek = noop_llseek, | ||
124 | }; | 125 | }; |
125 | 126 | ||
126 | static int i830_map_buffer(struct drm_buf *buf, struct drm_file *file_priv) | 127 | static int i830_map_buffer(struct drm_buf *buf, struct drm_file *file_priv) |
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 5e43d7076789..048149748fdc 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -782,6 +782,7 @@ static const struct file_operations i915_wedged_fops = { | |||
782 | .open = i915_wedged_open, | 782 | .open = i915_wedged_open, |
783 | .read = i915_wedged_read, | 783 | .read = i915_wedged_read, |
784 | .write = i915_wedged_write, | 784 | .write = i915_wedged_write, |
785 | .llseek = default_llseek, | ||
785 | }; | 786 | }; |
786 | 787 | ||
787 | /* As the drm_debugfs_init() routines are called before dev->dev_private is | 788 | /* As the drm_debugfs_init() routines are called before dev->dev_private is |