From 4b60cae90e0f689f68167c2e3419df7574cae1ab Mon Sep 17 00:00:00 2001 From: Michel Daenzer Date: Tue, 29 Jul 2003 10:11:48 +0000 Subject: IRQ code cleanup suggested by Linus Torvalds i830 build fix --- bsd-core/drm_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd-core/drm_dma.c') diff --git a/bsd-core/drm_dma.c b/bsd-core/drm_dma.c index 88ca2e39..accbb7fd 100644 --- a/bsd-core/drm_dma.c +++ b/bsd-core/drm_dma.c @@ -217,7 +217,7 @@ int DRM(irq_install)( drm_device_t *dev, int irq ) if ( retcode ) { #elif defined(__NetBSD__) dev->irqh = pci_intr_establish(&dev->pa.pa_pc, dev->ih, IPL_TTY, - (DRM_IRQ_RET (*)(DRM_IRQ_ARGS))DRM(dma_service), dev); + (irqreturn_t (*)(DRM_IRQ_ARGS))DRM(dma_service), dev); if ( !dev->irqh ) { #endif DRM_LOCK; -- cgit v1.2.3