diff options
author | Michel Daenzer <michel@daenzer.net> | 2003-07-29 10:11:48 +0000 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2003-07-29 10:11:48 +0000 |
commit | 4b60cae90e0f689f68167c2e3419df7574cae1ab (patch) | |
tree | c6e0714b4e51fc2ea9732ce5e5d57915ff350276 /shared/mga_irq.c | |
parent | c26ffeafca30332520660d2bef1106b56d0ef5e1 (diff) |
IRQ code cleanup suggested by Linus Torvalds
i830 build fix
Diffstat (limited to 'shared/mga_irq.c')
-rw-r--r-- | shared/mga_irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/mga_irq.c b/shared/mga_irq.c index c53a4bc2..ccced64f 100644 --- a/shared/mga_irq.c +++ b/shared/mga_irq.c @@ -36,7 +36,7 @@ #include "mga_drm.h" #include "mga_drv.h" -DRM_IRQ_RET mga_dma_service( DRM_IRQ_ARGS ) +irqreturn_t mga_dma_service( DRM_IRQ_ARGS ) { drm_device_t *dev = (drm_device_t *) arg; drm_mga_private_t *dev_priv = @@ -51,9 +51,9 @@ DRM_IRQ_RET mga_dma_service( DRM_IRQ_ARGS ) atomic_inc(&dev->vbl_received); DRM_WAKEUP(&dev->vbl_queue); DRM(vbl_send_signals)( dev ); - return DRM_IRQ_HANDLED; + return IRQ_HANDLED; } - return DRM_IRQ_NONE; + return IRQ_NONE; } int mga_vblank_wait(drm_device_t *dev, unsigned int *sequence) |