aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_os_linux.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-16 11:13:07 +1000
committerDave Airlie <airlied@linux.ie>2007-07-16 11:13:07 +1000
commit4be9554fcdf27bce86d0d69068d284af2793b950 (patch)
tree672a3d2aa8b565b6a1c0e0c6859e9e593cda15e3 /linux-core/drm_os_linux.h
parentf174f835ffac330bbd373d8ba5091205be28f327 (diff)
drm: fix typedef in drm_os_linux.h
Diffstat (limited to 'linux-core/drm_os_linux.h')
-rw-r--r--linux-core/drm_os_linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_os_linux.h b/linux-core/drm_os_linux.h
index 2ea105c5..9d0d3f69 100644
--- a/linux-core/drm_os_linux.h
+++ b/linux-core/drm_os_linux.h
@@ -52,8 +52,8 @@
/** Read/write memory barrier */
#define DRM_MEMORYBARRIER() mb()
/** DRM device local declaration */
-#define DRM_DEVICE drm_file_t *priv = filp->private_data; \
- drm_device_t *dev = priv->head->dev
+#define DRM_DEVICE struct drm_file *priv = filp->private_data; \
+ struct drm_device *dev = priv->head->dev
/** IRQ handler arguments and return type and values */
#define DRM_IRQ_ARGS int irq, void *arg