aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index ac4ca4b59fdf..4a72db4b4329 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1310,24 +1310,6 @@ struct drm_gem_object *drm_gem_object_lookup(struct drm_device *dev,
1310 struct drm_file *filp, 1310 struct drm_file *filp,
1311 u32 handle); 1311 u32 handle);
1312 1312
1313extern void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev);
1314extern void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev);
1315extern void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev);
1316
1317static __inline__ struct drm_local_map *drm_core_findmap(struct drm_device *dev,
1318 unsigned int token)
1319{
1320 struct drm_map_list *_entry;
1321 list_for_each_entry(_entry, &dev->maplist, head)
1322 if (_entry->user_token == token)
1323 return _entry->map;
1324 return NULL;
1325}
1326
1327static __inline__ void drm_core_dropmap(struct drm_local_map *map)
1328{
1329}
1330
1331struct drm_device *drm_dev_alloc(struct drm_driver *driver, 1313struct drm_device *drm_dev_alloc(struct drm_driver *driver,
1332 struct device *parent); 1314 struct device *parent);
1333void drm_dev_ref(struct drm_device *dev); 1315void drm_dev_ref(struct drm_device *dev);