diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2004-04-08 23:22:05 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2004-04-08 23:22:05 +0000 |
commit | 596cf634ae9be821c90688f982ae84b6145696c9 (patch) | |
tree | f409ba25de0c8f50d6fde104d1956e572ce6257d /shared-core | |
parent | ce601f364723ad361706be59fb7e09d9f6ca444a (diff) |
fix build problem
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/via_irq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared-core/via_irq.c b/shared-core/via_irq.c index 835b41cd..7e540cc1 100644 --- a/shared-core/via_irq.c +++ b/shared-core/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) |