summaryrefslogtreecommitdiff
path: root/drivers/char/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-05 13:07:28 +1000
committerDave Airlie <airlied@redhat.com>2008-02-07 15:09:38 +1000
commitded23359ccb884605336ac2193608a7af9a3b117 (patch)
tree909bed7822ae5c818af9e50be2db91663adfbf9c /drivers/char/drm
parentbc5f4523f772cc7629c5c5a46cf4f2a07a5500b8 (diff)
drm: move two function extern into the correct block
Diffstat (limited to 'drivers/char/drm')
-rw-r--r--drivers/char/drm/drmP.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 110629653a87..36caf93db309 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -847,6 +847,8 @@ extern int drm_release(struct inode *inode, struct file *filp);
/* Mapping support (drm_vm.h) */
extern int drm_mmap(struct file *filp, struct vm_area_struct *vma);
+extern unsigned long drm_core_get_map_ofs(struct drm_map * map);
+extern unsigned long drm_core_get_reg_ofs(struct drm_device *dev);
extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
/* Memory management support (drm_memory.h) */
@@ -1144,8 +1146,5 @@ extern void *drm_calloc(size_t nmemb, size_t size, int area);
/*@}*/
-extern unsigned long drm_core_get_map_ofs(struct drm_map * map);
-extern unsigned long drm_core_get_reg_ofs(struct drm_device *dev);
-
#endif /* __KERNEL__ */
#endif