summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2004-04-08 23:22:05 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2004-04-08 23:22:05 +0000
commit596cf634ae9be821c90688f982ae84b6145696c9 (patch)
treef409ba25de0c8f50d6fde104d1956e572ce6257d /shared
parentce601f364723ad361706be59fb7e09d9f6ca444a (diff)
fix build problem
Diffstat (limited to 'shared')
-rw-r--r--shared/via_irq.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/via_irq.c b/shared/via_irq.c
index 835b41cd..7e540cc1 100644
--- a/shared/via_irq.c
+++ b/shared/via_irq.c
@@ -65,7 +65,11 @@ irqreturn_t DRM(irq_handler)( DRM_IRQ_ARGS )
/* Acknowlege interrupts ?? */
VIA_WRITE(VIA_REG_INTERRUPT, status);
- return IRQ_RETVAL(handled);
+
+ if (handled)
+ return IRQ_HANDLED;
+ else
+ return IRQ_NONE;
}
static __inline__ void viadrv_acknowledge_irqs(drm_via_private_t* dev_priv)