Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606964 > unrolled thread

[RESEND PATCH v2 06/53] mtd: nand: denali: fix comment of denali_nand_info::flash_mem

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2017-03-22 21:20 +0100
Last post2017-03-22 21:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RESEND PATCH v2 06/53] mtd: nand: denali: fix comment of denali_nand_info::flash_mem Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-03-22 21:20 +0100

#1606964 — [RESEND PATCH v2 06/53] mtd: nand: denali: fix comment of denali_nand_info::flash_mem

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-03-22 21:20 +0100
Subject[RESEND PATCH v2 06/53] mtd: nand: denali: fix comment of denali_nand_info::flash_mem
Message-ID<tnUTF-85w-35@gated-at.bofh.it>
The same comment "Mapped io reg base address" for flash_reg and
flash_mem probably due to the mistake of copy-paste work.
Of course, the latter is not the register base address.

Reword the comments using the terminology in the Denali User's Guide.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v2: None

 drivers/mtd/nand/denali.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h
index 6573ea5..403a7c8 100644
--- a/drivers/mtd/nand/denali.h
+++ b/drivers/mtd/nand/denali.h
@@ -351,8 +351,8 @@ struct denali_nand_info {
 	struct device *dev;
 	int total_used_banks;
 	uint16_t page;
-	void __iomem *flash_reg;  /* Mapped io reg base address */
-	void __iomem *flash_mem;  /* Mapped io reg base address */
+	void __iomem *flash_reg;	/* Register Interface */
+	void __iomem *flash_mem;	/* Host Data/Command Interface */
 
 	/* elements used by ISR */
 	struct completion complete;
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web