summaryrefslogtreecommitdiff
path: root/linux-core/ffb_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/ffb_drv.c')
-rw-r--r--linux-core/ffb_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-core/ffb_drv.c b/linux-core/ffb_drv.c
index 60cd8f74..5c4758a0 100644
--- a/linux-core/ffb_drv.c
+++ b/linux-core/ffb_drv.c
@@ -276,8 +276,6 @@ int ffb_presetup(drm_device_t *dev)
static int postinit( struct drm_device *dev, unsigned long flags )
{
- DRM(fops).get_unmapped_area = ffb_get_unmapped_area;
-
DRM_INFO( "Initialized %s %d.%d.%d %s on minor %d: %s\n",
DRIVER_NAME,
DRIVER_MAJOR,
@@ -326,6 +324,7 @@ static struct drm_driver_fn ffb_driver_fn = {
.ioctl = drm_ioctl,
.mmap = drm_mmap,
.fasync = drm_fasync,
+ .get_unmapped_area = ffb_get_unmapped_area,
},
};