From 243ec633057e64e2f2538df9bb3847b323ece6a7 Mon Sep 17 00:00:00 2001
From: David Borg <borg.db@gmail.com>
Date: Sun, 8 Aug 2010 17:04:21 +0000
Subject: [PATCH] Fix typo (s/Bit/Bits/) to clarify code comment

Corresponding to flashrom svn r1135.


Signed-off-by: David Borg <borg.db@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
---
 nicnatsemi.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nicnatsemi.c b/nicnatsemi.c
index 193a86e..1683857 100644
--- a/nicnatsemi.c
+++ b/nicnatsemi.c
@@ -68,8 +68,8 @@ void nicnatsemi_chip_writeb(uint8_t val, chipaddr addr)
 	/*
 	 * The datasheet requires 32 bit accesses to this register, but it seems
 	 * that requirement might only apply if the register is memory mapped.
-	 * Bit 8-31 of this register are apparently don't care, and if this
-	 * register is I/O port mapped 8 bit accesses to the lowest byte of the
+	 * Bits 8-31 of this register are apparently don't care, and if this
+	 * register is I/O port mapped, 8 bit accesses to the lowest byte of the
 	 * register seem to work fine. Due to that, we ignore the advice in the
 	 * data sheet.
 	 */
@@ -82,8 +82,8 @@ uint8_t nicnatsemi_chip_readb(const chipaddr addr)
 	/*
 	 * The datasheet requires 32 bit accesses to this register, but it seems
 	 * that requirement might only apply if the register is memory mapped.
-	 * Bit 8-31 of this register are apparently don't care, and if this
-	 * register is I/O port mapped 8 bit accesses to the lowest byte of the
+	 * Bits 8-31 of this register are apparently don't care, and if this
+	 * register is I/O port mapped, 8 bit accesses to the lowest byte of the
 	 * register seem to work fine. Due to that, we ignore the advice in the
 	 * data sheet.
 	 */
-- 
GitLab