From 596cf634ae9be821c90688f982ae84b6145696c9 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 8 Apr 2004 23:22:05 +0000 Subject: fix build problem --- shared-core/via_irq.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shared-core') 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) -- cgit v1.2.3