diff options
-rw-r--r-- | bsd-core/drm_bufs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_bufs.c b/bsd-core/drm_bufs.c index a5651d03..0461ebeb 100644 --- a/bsd-core/drm_bufs.c +++ b/bsd-core/drm_bufs.c @@ -204,7 +204,7 @@ int drm_addmap(DRM_IOCTL_ARGS) switch ( map->type ) { case _DRM_REGISTERS: - drm_ioremap(dev, map); + map->handle = drm_ioremap(dev, map); if (!(map->flags & _DRM_WRITE_COMBINING)) break; /* FALLTHROUGH */ |