summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorVasili Galka <vvv444@gmail.com>2014-03-04 17:24:09 +0200
committerTom Rini <trini@ti.com>2014-03-07 10:59:06 -0500
commit801cec59076b0d5b0b6946a8a7a6cb77b62f3c8f (patch)
treec2816f585023674c80e0fe5bdcd2611a74dea2cc /include/spi_flash.h
parent345b77bacabb84a00c7508471ab560b452910240 (diff)
Cosmetic: Typo fixes
Signed-off-by: Vasili Galka <vasili@visionmap.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index f79f0eacca..1a11286224 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -52,7 +52,7 @@ enum spi_dual_flash {
* @sector_size: Sector size of this device
* @nr_sectors: No.of sectors on this device
* @e_rd_cmd: Enum list for read commands
- * @flags: Importent param, for flash specific behaviour
+ * @flags: Important param, for flash specific behaviour
*/
struct spi_flash_params {
const char *name;
@@ -88,11 +88,11 @@ extern const struct spi_flash_params spi_flash_params_table[];
* @memory_map: Address of read-only SPI flash access
* @read: Flash read ops: Read len bytes at offset into buf
* Supported cmds: Fast Array Read
- * @write: Flash write ops: Write len bytes from buf into offeset
+ * @write: Flash write ops: Write len bytes from buf into offset
* Supported cmds: Page Program
* @erase: Flash erase ops: Erase len bytes from offset
* Supported cmds: Sector erase 4K, 32K, 64K
- * return 0 - Sucess, 1 - Failure
+ * return 0 - Success, 1 - Failure
*/
struct spi_flash {
struct spi_slave *spi;