From 46f2275dab156b302192865bb618107ef4e9a286 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Mon, 12 Jun 2000 15:59:09 +0000 Subject: DRM_IOCTL_I810_GETBUF needs to be declared WR since it returns information. --- shared-core/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-core/drm.h') diff --git a/shared-core/drm.h b/shared-core/drm.h index c63d0f63..b2e2a0ac 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -349,7 +349,7 @@ typedef struct drm_agp_info { #define DRM_IOCTL_I810_CLEAR DRM_IOW( 0x42, drm_i810_clear_t) #define DRM_IOCTL_I810_FLUSH DRM_IO ( 0x43) #define DRM_IOCTL_I810_GETAGE DRM_IO ( 0x44) -#define DRM_IOCTL_I810_GETBUF DRM_IOW( 0x45, drm_i810_dma_t) +#define DRM_IOCTL_I810_GETBUF DRM_IOWR(0x45, drm_i810_dma_t) #define DRM_IOCTL_I810_SWAP DRM_IO ( 0x46) /* Rage 128 specific ioctls */ -- cgit v1.2.3