From 0669fb3306ea473e9ddaaf9f82ba81844f054b02 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Thu, 26 Jun 2008 18:17:23 +0000 Subject: 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. --- sys/dev/pci/drm/drm_drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/pci/drm/drm_drv.c') 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); -- cgit v1.2.3