drm: fix typedef in drm_os_linux.h

main
Dave Airlie 2007-07-16 11:13:07 +10:00
parent f174f835ff
commit 4be9554fcd
1 changed files with 2 additions and 2 deletions

View 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