« Return to Thread: [PATCH] [trivial] mips: Fix typo in mips

[PATCH] [trivial] mips: Fix typo in mips

by Masanari Iida :: Rate this Message:

| View in Thread

Correct spelling typo in printk messages, comments and macro.

Signed-off-by: Masanari Iida <standby24x7@...>
Cc: Ralf Baechle <ralf@...>
---
 arch/mips/Kconfig                |    4 ++--
 arch/mips/Kconfig.debug          |    2 +-
 arch/mips/lantiq/xway/dma.c      |    6 +++---
 arch/mips/lantiq/xway/gpio.c     |    2 +-
 arch/mips/lantiq/xway/gpio_ebu.c |    2 +-
 arch/mips/lantiq/xway/gpio_stp.c |    2 +-
 arch/mips/pci/pci-lantiq.c       |    2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ce30e2f..923a6c3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1001,12 +1001,12 @@ config HOLES_IN_ZONE
  bool
 
 #
-# Endianess selection.  Sufficiently obscure so many users don't know what to
+# Endianness selection.  Sufficiently obscure so many users don't know what to
 # answer,so we try hard to limit the available choices.  Also the use of a
 # choice statement should be more obvious to the user.
 #
 choice
- prompt "Endianess selection"
+ prompt "Endianness selection"
  help
   Some MIPS machines can be configured for either little or big endian
   byte order. These modes require different kernels and a different
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 83ed00a..5a43aa0 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -57,7 +57,7 @@ config CMDLINE
   options.
 
 config CMDLINE_OVERRIDE
- bool "Built-in command line overrides firware arguments"
+ bool "Built-in command line overrides firmware arguments"
  default n
  depends on CMDLINE_BOOL
  help
diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index b210e93..d1eafb0 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -47,7 +47,7 @@
 #define DMA_CLK_DIV4 BIT(6) /* polling clock divider */
 #define DMA_2W_BURST BIT(1) /* 2 word burst length */
 #define DMA_MAX_CHANNEL 20 /* the soc has 20 channels */
-#define DMA_ETOP_ENDIANESS (0xf << 8) /* endianess swap etop channels */
+#define DMA_ETOP_ENDIANNESS (0xf << 8) /* endianness swap etop channels */
 #define DMA_WEIGHT (BIT(17) | BIT(16)) /* default channel wheight */
 
 #define ltq_dma_r32(x) ltq_r32(ltq_dma_membase + (x))
@@ -197,10 +197,10 @@ ltq_dma_init_port(int p)
  switch (p) {
  case DMA_PORT_ETOP:
  /*
- * Tell the DMA engine to swap the endianess of data frames and
+ * Tell the DMA engine to swap the endianness of data frames and
  * drop packets if the channel arbitration fails.
  */
- ltq_dma_w32_mask(0, DMA_ETOP_ENDIANESS | DMA_PDEN,
+ ltq_dma_w32_mask(0, DMA_ETOP_ENDIANNESS | DMA_PDEN,
  LTQ_DMA_PCTRL);
  break;
 
diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c
index d2fa98f..c429a5b 100644
--- a/arch/mips/lantiq/xway/gpio.c
+++ b/arch/mips/lantiq/xway/gpio.c
@@ -188,7 +188,7 @@ int __init ltq_gpio_init(void)
  int ret = platform_driver_register(<q_gpio_driver);
 
  if (ret)
- pr_info("ltq_gpio : Error registering platfom driver!");
+ pr_info("ltq_gpio : Error registering platform driver!");
  return ret;
 }
 
diff --git a/arch/mips/lantiq/xway/gpio_ebu.c b/arch/mips/lantiq/xway/gpio_ebu.c
index b91c7f1..aae1717 100644
--- a/arch/mips/lantiq/xway/gpio_ebu.c
+++ b/arch/mips/lantiq/xway/gpio_ebu.c
@@ -119,7 +119,7 @@ static int __init ltq_ebu_init(void)
  int ret = platform_driver_register(<q_ebu_driver);
 
  if (ret)
- pr_info("ltq_ebu : Error registering platfom driver!");
+ pr_info("ltq_ebu : Error registering platform driver!");
  return ret;
 }
 
diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c
index ff9991c..fd07d87 100644
--- a/arch/mips/lantiq/xway/gpio_stp.c
+++ b/arch/mips/lantiq/xway/gpio_stp.c
@@ -150,7 +150,7 @@ int __init ltq_stp_init(void)
  int ret = platform_driver_register(<q_stp_driver);
 
  if (ret)
- pr_info("ltq_stp: error registering platfom driver");
+ pr_info("ltq_stp: error registering platform driver");
  return ret;
 }
 
diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
index 030c77e..70fdf2c 100644
--- a/arch/mips/pci/pci-lantiq.c
+++ b/arch/mips/pci/pci-lantiq.c
@@ -297,7 +297,7 @@ int __init pcibios_init(void)
 {
  int ret = platform_driver_register(<q_pci_driver);
  if (ret)
- printk(KERN_INFO "ltq_pci: Error registering platfom driver!");
+ printk(KERN_INFO "ltq_pci: Error registering platform driver!");
  return ret;
 }
 
--
1.7.10.rc3.11.gd8282


 « Return to Thread: [PATCH] [trivial] mips: Fix typo in mips