From: greg@kroah.com (Greg KH)
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: [PATCH] i2c driver changes for 2.5.69
Date: Thu, 19 May 2005 06:23:55 +0000 [thread overview]
Message-ID: <10522676152488@kroah.com> (raw)
In-Reply-To: <1052267615977@kroah.com>
In-Reply-To: <10522676142536@kroah.com>
ChangeSet 1.1042.48.3, 2003/04/29 10:12:19-07:00, paulus@samba.org
[PATCH] i2c: i2c-keywest.c irq handler type
This patch changes the interrupt handler routine in i2c-keywest.c to
return an irqreturn_t.
drivers/i2c/i2c-keywest.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c
--- a/drivers/i2c/i2c-keywest.c Tue May 6 17:24:55 2003
+++ b/drivers/i2c/i2c-keywest.c Tue May 6 17:24:55 2003
@@ -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
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] i2c driver changes for 2.5.69
Date: Tue, 6 May 2003 17:33:35 -0700 [thread overview]
Message-ID: <10522676152488@kroah.com> (raw)
In-Reply-To: <1052267615977@kroah.com>
ChangeSet 1.1042.48.3, 2003/04/29 10:12:19-07:00, paulus@samba.org
[PATCH] i2c: i2c-keywest.c irq handler type
This patch changes the interrupt handler routine in i2c-keywest.c to
return an irqreturn_t.
drivers/i2c/i2c-keywest.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c
--- a/drivers/i2c/i2c-keywest.c Tue May 6 17:24:55 2003
+++ b/drivers/i2c/i2c-keywest.c Tue May 6 17:24:55 2003
@@ -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
next prev parent reply other threads:[~2005-05-19 6:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-07 0:31 [BK PATCH] i2c driver changes for 2.5.69 Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` [PATCH] " Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH [this message]
2005-05-19 6:23 ` Greg KH
2003-05-07 0:33 ` Greg KH
2005-05-19 6:23 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10522676152488@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.