summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-19 18:59:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-19 18:59:11 -0600
commit8866bbbb006fbc11cae2e758a64f3806c04e5538 (patch)
treebc5595d913d59b4b04835858f5af88aaaaf200f7
parent460c2760edd5871b23aa259075b6accceee09fbc (diff)
downloadnuttx-8866bbbb006fbc11cae2e758a64f3806c04e5538.tar.gz
nuttx-8866bbbb006fbc11cae2e758a64f3806c04e5538.tar.bz2
nuttx-8866bbbb006fbc11cae2e758a64f3806c04e5538.zip
Trivial, cosmetic typos in comments
-rw-r--r--nuttx/arch/arm/src/kl/kl_serial.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/nuttx/arch/arm/src/kl/kl_serial.c b/nuttx/arch/arm/src/kl/kl_serial.c
index eb4501e4a..c66cde28f 100644
--- a/nuttx/arch/arm/src/kl/kl_serial.c
+++ b/nuttx/arch/arm/src/kl/kl_serial.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * arch/mips/src/kl/kl_serial.c
+ * arch/arm/src/kl/kl_serial.c
*
* Copyright (C) 2013-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -497,7 +497,7 @@ static void up_detach(struct uart_dev_s *dev)
* interrupt received on the 'irq' It should call uart_transmitchars or
* uart_receivechar to perform the appropriate data transfers. The
* interrupt handling logic must be able to map the 'irq' number into the
- * approprite uart_dev_s structure in order to call these functions.
+ * appropriate uart_dev_s structure in order to call these functions.
*
****************************************************************************/
@@ -700,8 +700,8 @@ static void up_rxint(struct uart_dev_s *dev, bool enable)
flags = irqsave();
if (enable)
{
- /* Receive an interrupt when their is anything in the Rx data register (or an Rx
- * timeout occurs).
+ /* Receive an interrupt when their is anything in the Rx data register
+ * (or an Rx timeout occurs).
*/
#ifndef CONFIG_SUPPRESS_SERIAL_INTS
@@ -827,8 +827,8 @@ static bool up_txready(struct uart_dev_s *dev)
* Performs the low level UART initialization early in debug so that the
* serial console will be available during bootup. This must be called
* before up_serialinit. NOTE: This function depends on GPIO pin
- * configuration performed in up_consoleinit() and main clock iniialization
- * performed in up_clkinitialize().
+ * configuration performed in up_consoleinit() and main clock
+ * initialization performed in up_clkinitialize().
*
****************************************************************************/
@@ -867,8 +867,8 @@ void up_earlyserialinit(void)
* Name: up_serialinit
*
* Description:
- * Register serial console and serial ports. This assumes
- * that up_earlyserialinit was called previously.
+ * Register serial console and serial ports. This assumes that
+ * up_earlyserialinit was called previously.
*
****************************************************************************/
@@ -973,4 +973,3 @@ int up_getc(void)
return kl_lowgetc();
}
#endif /* USE_SERIALDRIVER */
-