summaryrefslogtreecommitdiff
path: root/linux/drm_vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_vm.h')
-rw-r--r--linux/drm_vm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drm_vm.h b/linux/drm_vm.h
index 965b7dd1..277aae0a 100644
--- a/linux/drm_vm.h
+++ b/linux/drm_vm.h
@@ -498,15 +498,15 @@ int DRM(mmap_dma)(struct file *filp, struct vm_area_struct *vma)
unsigned long DRM(core_get_map_ofs)(drm_map_t *map)
{
- return map->offset;
+ return map->offset;
}
unsigned long DRM(core_get_reg_ofs)(struct drm_device *dev)
{
#ifdef __alpha__
- return dev->hose->dense_mem_base - dev->hose->mem_space->start;
+ return dev->hose->dense_mem_base - dev->hose->mem_space->start;
#else
- return 0;
+ return 0;
#endif
}