aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-04 22:07:28 -0500
committerDave Airlie <airlied@redhat.com>2008-02-07 00:09:38 -0500
commitded23359ccb884605336ac2193608a7af9a3b117 (patch)
tree909bed7822ae5c818af9e50be2db91663adfbf9c /drivers/char
parentbc5f4523f772cc7629c5c5a46cf4f2a07a5500b8 (diff)
drm: move two function extern into the correct block
Diffstat (limited to 'drivers/char')
-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);
847 847
848 /* Mapping support (drm_vm.h) */ 848 /* Mapping support (drm_vm.h) */
849extern int drm_mmap(struct file *filp, struct vm_area_struct *vma); 849extern int drm_mmap(struct file *filp, struct vm_area_struct *vma);
850extern unsigned long drm_core_get_map_ofs(struct drm_map * map);
851extern unsigned long drm_core_get_reg_ofs(struct drm_device *dev);
850extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); 852extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
851 853
852 /* Memory management support (drm_memory.h) */ 854 /* Memory management support (drm_memory.h) */
@@ -1144,8 +1146,5 @@ extern void *drm_calloc(size_t nmemb, size_t size, int area);
1144 1146
1145/*@}*/ 1147/*@}*/
1146 1148
1147extern unsigned long drm_core_get_map_ofs(struct drm_map * map);
1148extern unsigned long drm_core_get_reg_ofs(struct drm_device *dev);
1149
1150#endif /* __KERNEL__ */ 1149#endif /* __KERNEL__ */
1151#endif 1150#endif