linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c-keywest.c irq handler type
@ 2003-04-27 12:50 Paul Mackerras
  2003-04-29 17:17 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2003-04-27 12:50 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel

This patch changes the interrupt handler routine in i2c-keywest.c to
return an irqreturn_t.

Paul.

diff -urN linux-2.5/drivers/i2c/i2c-keywest.c pmac-2.5/drivers/i2c/i2c-keywest.c
--- linux-2.5/drivers/i2c/i2c-keywest.c	2003-04-03 07:22:49.000000000 +1000
+++ pmac-2.5/drivers/i2c/i2c-keywest.c	2003-04-23 21:32:32.000000000 +1000
@@ -212,7 +212,7 @@
 #ifndef POLLED_MODE
 
 /* Interrupt handler */
-static void
+static irqreturn_t
 keywest_irq(int irq, void *dev_id, struct pt_regs *regs)
 {
 	struct keywest_iface *iface = (struct keywest_iface *)dev_id;
@@ -225,6 +225,7 @@
 		add_timer(&iface->timeout_timer);
 	}
 	spin_unlock(&iface->lock);
+	return IRQ_HANDLED;
 }
 
 static void

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c-keywest.c irq handler type
  2003-04-27 12:50 [PATCH] i2c-keywest.c irq handler type Paul Mackerras
@ 2003-04-29 17:17 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-04-29 17:17 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linux-kernel

On Sun, Apr 27, 2003 at 10:50:33PM +1000, Paul Mackerras wrote:
> This patch changes the interrupt handler routine in i2c-keywest.c to
> return an irqreturn_t.

Applied to my trees.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-29 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-27 12:50 [PATCH] i2c-keywest.c irq handler type Paul Mackerras
2003-04-29 17:17 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).