drm: fix typedef in drm_os_linux.h
authorDave Airlie <airlied@linux.ie>
Mon, 16 Jul 2007 01:13:07 +0000 (11:13 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 16 Jul 2007 01:13:07 +0000 (11:13 +1000)
linux-core/drm_os_linux.h

index 2ea105c..9d0d3f6 100644 (file)
@@ -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