public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: venkat.prashanth2498@gmail.com
To: dwmw2@infradead.org, computersforpeace@gmail.com, richard@nod.at
Cc: wboyer@gmail.com, boris.brezillon@free-electrons.com,
	cyrille.pitchen@atmel.com, david.oberhollenzer@sigma-star.at,
	linux-mtd@lists.infradead.org,
	Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
Subject: [PATCH 3/8] Drivers:MTD:Nand: remove the redefinition error
Date: Fri, 15 Dec 2017 09:27:09 +0530	[thread overview]
Message-ID: <1513310229-2867-1-git-send-email-venkat.prashanth2498@gmail.com> (raw)

From: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>

This is a patch to the omap_elm.c file which fixes the redefinition
error in the function‘elm_decode_bch_error_page’

Signed-off-by: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
---
 drivers/mtd/nand/omap_elm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c
index 235ec79..06c24f3 100644
--- a/drivers/mtd/nand/omap_elm.c
+++ b/drivers/mtd/nand/omap_elm.c
@@ -335,7 +335,7 @@ static void elm_error_correction(struct elm_info *info,
 }

 /**
- * elm_decode_bch_error_page - Locate error position
+ * elm_decode_bch_err_pg - Locate error position
  * @dev:	device pointer
  * @ecc_calc:	calculated ECC bytes from GPMC
  * @err_vec:	elm error vectors
@@ -343,7 +343,7 @@ static void elm_error_correction(struct elm_info *info,
  * Called with one or more error reported vectors & vectors with
  * error reported is updated in err_vec[].error_reported
  */
-void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc,
+void elm_decode_bch_err_pg(struct device *dev, u8 *ecc_calc,
 		struct elm_errorvec *err_vec)
 {
 	struct elm_info *info = dev_get_drvdata(dev);
@@ -368,7 +368,7 @@ void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc,
 	elm_write_reg(info, ELM_IRQENABLE, reg_val & ~INTR_EN_PAGE_MASK);
 	elm_error_correction(info, err_vec);
 }
-EXPORT_SYMBOL(elm_decode_bch_error_page);
+EXPORT_SYMBOL(elm_decode_bch_err_pg);

 static irqreturn_t elm_isr(int this_irq, void *dev_id)
 {
--
1.9.1

             reply	other threads:[~2017-12-15  3:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-15  3:57 venkat.prashanth2498 [this message]
2017-12-15  9:15 ` [PATCH 3/8] Drivers:MTD:Nand: remove the redefinition error Boris Brezillon

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=1513310229-2867-1-git-send-email-venkat.prashanth2498@gmail.com \
    --to=venkat.prashanth2498@gmail.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=cyrille.pitchen@atmel.com \
    --cc=david.oberhollenzer@sigma-star.at \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=wboyer@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox