diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-26 18:17:23 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-26 18:17:23 +0000 |
commit | 0669fb3306ea473e9ddaaf9f82ba81844f054b02 (patch) | |
tree | 0b86f8ae37003fb865f6512e1f2aafe8d2e86f2a /sys/dev/pci/drm/drm_fops.c | |
parent | d451bd346083a51e422c67a4c80a4368ec81af41 (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_fops.c')
-rw-r--r-- | sys/dev/pci/drm/drm_fops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_fops.c b/sys/dev/pci/drm/drm_fops.c index 3dcff9d8700..c83a0bf5620 100644 --- a/sys/dev/pci/drm/drm_fops.c +++ b/sys/dev/pci/drm/drm_fops.c @@ -114,13 +114,13 @@ drm_open_helper(DRM_CDEV kdev, int flags, int fmt, DRM_STRUCTPROC *p, * on older X Servers (4.3.0 and earlier) */ int -drm_read(DRM_CDEV kdev, struct uio *uio, int ioflag) +drmread(DRM_CDEV kdev, struct uio *uio, int ioflag) { return 0; } int -drm_poll(DRM_CDEV kdev, int events, DRM_STRUCTPROC *p) +drmpoll(DRM_CDEV kdev, int events, DRM_STRUCTPROC *p) { return 0; } |