aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tdfx/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tdfx/tdfx_drv.c')
-rw-r--r--drivers/gpu/drm/tdfx/tdfx_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.c b/drivers/gpu/drm/tdfx/tdfx_drv.c
index ab699bf0ac5c..58c185c299f4 100644
--- a/drivers/gpu/drm/tdfx/tdfx_drv.c
+++ b/drivers/gpu/drm/tdfx/tdfx_drv.c
@@ -56,7 +56,7 @@ static const struct file_operations tdfx_driver_fops = {
.llseek = noop_llseek,
};
-static struct drm_driver driver = {
+static const struct drm_driver driver = {
.driver_features = DRIVER_LEGACY,
.fops = &tdfx_driver_fops,
.name = DRIVER_NAME,