drm: Extract <drm/drm_gem.h>
[deliverable/linux.git] / drivers / gpu / drm / radeon / radeon_drv.c
index ec7e963d9bf76acb7b62c647c4281702e80ec44d..de108427a19745246bb171f5ce714702384426e8 100644 (file)
@@ -38,6 +38,8 @@
 #include <linux/module.h>
 #include <linux/pm_runtime.h>
 #include <linux/vga_switcheroo.h>
+#include <drm/drm_gem.h>
+
 #include "drm_crtc_helper.h"
 /*
  * KMS wrapper.
@@ -308,7 +310,7 @@ static const struct file_operations radeon_driver_old_fops = {
        .open = drm_open,
        .release = drm_release,
        .unlocked_ioctl = drm_ioctl,
-       .mmap = drm_mmap,
+       .mmap = drm_legacy_mmap,
        .poll = drm_poll,
        .read = drm_read,
 #ifdef CONFIG_COMPAT
This page took 0.030435 seconds and 5 git commands to generate.