From: Shikha Singh <shikha.singh@st.com>
To: <sameo@linux.intel.com>, <aloisio.almeida@openbossa.org>,
<lauro.venancio@openbossa.org>, <linux-wireless@vger.kernel.org>,
<linux-nfc@lists.01.org>
Cc: <raunaque.quaiser@st.com>, <manoj.kumar@st.com>,
<sylvain.fidelis@st.com>, <patrick.sohn@st.com>,
<shikha.singh@st.com>, <MMS_MMY_Applications_SW@list.st.com>
Subject: [[linux-nfc] PATCH v1.0 1/1] driver: nfc: st95hf: Fix of build error
Date: Tue, 22 Dec 2015 04:53:37 -0500 [thread overview]
Message-ID: <1450778017-12124-2-git-send-email-shikha.singh@st.com> (raw)
In-Reply-To: <1450778017-12124-1-git-send-email-shikha.singh@st.com>
Modification in core.c to rename function "irq_handler"
and "irq_thread_handler" to "st95hf_irq_handler" and
"st95hf_irq_thread_handler" respectively. This modification
was done to remove build error.
Signed-off-by: Shikha Singh <shikha.singh@st.com>
---
drivers/nfc/st95hf/core.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/nfc/st95hf/core.c b/drivers/nfc/st95hf/core.c
index 526e342..9524b12 100644
--- a/drivers/nfc/st95hf/core.c
+++ b/drivers/nfc/st95hf/core.c
@@ -762,7 +762,7 @@ static int st95hf_response_handler(struct st95hf_context *stcontext,
return result;
}
-static irqreturn_t irq_handler(int irq, void *st95hfcontext)
+static irqreturn_t st95hf_irq_handler(int irq, void *st95hfcontext)
{
struct st95hf_context *stcontext =
(struct st95hf_context *)st95hfcontext;
@@ -776,7 +776,7 @@ static irqreturn_t irq_handler(int irq, void *st95hfcontext)
return IRQ_WAKE_THREAD;
}
-static irqreturn_t irq_thread_handler(int irq, void *st95hfcontext)
+static irqreturn_t st95hf_irq_thread_handler(int irq, void *st95hfcontext)
{
int result = 0;
int res_len;
@@ -1140,8 +1140,8 @@ static int st95hf_probe(struct spi_device *nfc_spi_dev)
if (nfc_spi_dev->irq > 0) {
if (devm_request_threaded_irq(&nfc_spi_dev->dev,
nfc_spi_dev->irq,
- irq_handler,
- irq_thread_handler,
+ st95hf_irq_handler,
+ st95hf_irq_thread_handler,
IRQF_TRIGGER_FALLING,
"st95hf",
(void *)st95context) < 0) {
--
1.8.2.1
next prev parent reply other threads:[~2015-12-22 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-22 9:53 [[linux-nfc] PATCH v1.0 0/1] ST95HF:Fix build err Shikha Singh
2015-12-22 9:53 ` Shikha Singh [this message]
2015-12-22 10:00 ` [[linux-nfc] PATCH v1.0 1/1] driver: nfc: st95hf: Fix of build error Samuel Ortiz
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=1450778017-12124-2-git-send-email-shikha.singh@st.com \
--to=shikha.singh@st.com \
--cc=MMS_MMY_Applications_SW@list.st.com \
--cc=aloisio.almeida@openbossa.org \
--cc=lauro.venancio@openbossa.org \
--cc=linux-nfc@lists.01.org \
--cc=linux-wireless@vger.kernel.org \
--cc=manoj.kumar@st.com \
--cc=patrick.sohn@st.com \
--cc=raunaque.quaiser@st.com \
--cc=sameo@linux.intel.com \
--cc=sylvain.fidelis@st.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.