diff options
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index b5a51686f492..d5b349d279f5 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c | |||
@@ -288,6 +288,7 @@ static int __init drm_core_init(void) | |||
288 | { | 288 | { |
289 | int ret = -ENOMEM; | 289 | int ret = -ENOMEM; |
290 | 290 | ||
291 | drm_global_init(); | ||
291 | idr_init(&drm_minors_idr); | 292 | idr_init(&drm_minors_idr); |
292 | 293 | ||
293 | if (register_chrdev(DRM_MAJOR, "drm", &drm_stub_fops)) | 294 | if (register_chrdev(DRM_MAJOR, "drm", &drm_stub_fops)) |