summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_drv.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-06-26 18:17:23 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-06-26 18:17:23 +0000
commit0669fb3306ea473e9ddaaf9f82ba81844f054b02 (patch)
tree0b86f8ae37003fb865f6512e1f2aafe8d2e86f2a /sys/dev/pci/drm/drm_drv.c
parentd451bd346083a51e422c67a4c80a4368ec81af41 (diff)
Since we're not ifdefed anymore, change
drm_{open,close,poll,read,mmap,ioctl} into the form that cdev_decl() likes, and nuke the #defines.
Diffstat (limited to 'sys/dev/pci/drm/drm_drv.c')
-rw-r--r--sys/dev/pci/drm/drm_drv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 3f21301559a..98b24ffd423 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -485,7 +485,7 @@ drm_version(drm_device_t *dev, void *data, struct drm_file *file_priv)
}
int
-drm_open(DRM_CDEV kdev, int flags, int fmt, DRM_STRUCTPROC *p)
+drmopen(DRM_CDEV kdev, int flags, int fmt, DRM_STRUCTPROC *p)
{
drm_device_t *dev = NULL;
int retcode = 0;
@@ -512,7 +512,7 @@ drm_open(DRM_CDEV kdev, int flags, int fmt, DRM_STRUCTPROC *p)
}
int
-drm_close(DRM_CDEV kdev, int flags, int fmt, DRM_STRUCTPROC *p)
+drmclose(DRM_CDEV kdev, int flags, int fmt, DRM_STRUCTPROC *p)
{
drm_device_t *dev = drm_get_device_from_kdev(kdev);
drm_file_t *file_priv;
@@ -612,10 +612,10 @@ done:
return retcode;
}
-/* drm_ioctl is called whenever a process performs an ioctl on /dev/drm.
+/* drmioctl is called whenever a process performs an ioctl on /dev/drm.
*/
int
-drm_ioctl(DRM_CDEV kdev, u_long cmd, caddr_t data, int flags,
+drmioctl(DRM_CDEV kdev, u_long cmd, caddr_t data, int flags,
DRM_STRUCTPROC *p)
{
drm_device_t *dev = drm_get_device_from_kdev(kdev);