summaryrefslogtreecommitdiff
path: root/linux-core/ffb_drv.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-30 21:27:59 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-30 21:27:59 +0000
commita36a6a291d3627bf1ad036fa4a7a33ea99e8ed5d (patch)
tree345de4958d2dbd83380eb8a249a3c41a9a1466c4 /linux-core/ffb_drv.c
parent9f9a8f1382711a05ec000b639d971b619d8bc305 (diff)
Remove DRM() macros from core ffb driver. DaveA says he'll make it compile
someday.
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,
},
};