summaryrefslogtreecommitdiff
path: root/linux-core/drm_fops.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-08-19 16:55:30 +1000
committerDave Airlie <airlied@linux.ie>2006-08-19 16:55:30 +1000
commitd90a55fe3488020967a4d1b1699ef1f42d50b422 (patch)
tree36129698e71d86ca656b5fb8aa1a33729798d743 /linux-core/drm_fops.c
parent3a681bb4c12ee1042eb31ec565a3eb2ecccddd3d (diff)
fix const pointer warnings with file_operations
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r--linux-core/drm_fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index 74fcf4bd..377007c6 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -175,7 +175,7 @@ int drm_stub_open(struct inode *inode, struct file *filp)
drm_device_t *dev = NULL;
int minor = iminor(inode);
int err = -ENODEV;
- struct file_operations *old_fops;
+ const struct file_operations *old_fops;
DRM_DEBUG("\n");