[bootlin/training-materials updates] master: linux: serial: Fix a typo in the lab book (ec9df7f7)

Miquel Raynal miquel.raynal at bootlin.com
Wed May 5 23:09:20 CEST 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/ec9df7f7719287f4fe68cf47824b827ac5244907


commit ec9df7f7719287f4fe68cf47824b827ac5244907
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Wed May 5 23:08:37 2021 +0200

    linux: serial: Fix a typo in the lab book
    s/an serial_dev/a serial_dev/
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


 labs/kernel-serial-iomem/kernel-serial-iomem.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/kernel-serial-iomem/kernel-serial-iomem.tex b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
index a64ce08b..158dc8be 100644
--- a/labs/kernel-serial-iomem/kernel-serial-iomem.tex
+++ b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
@@ -148,7 +148,7 @@ devices. Of course, this will be done in the \code{probe()} routine.
 As we will have multiple registers to read, create a \code{reg_read()}
 routine, returning an \code{unsigned int} value, and taking a \code{dev}
-pointer to an \code{serial_dev} structure and an \code{int} register
+pointer to a \code{serial_dev} structure and an \code{int} register
 Your prototype should look like:
@@ -215,7 +215,7 @@ better what we are doing here.
 \section{Standalone write routine}
-Implement a C routine taking a pointer to an \code{serial_dev}
+Implement a C routine taking a pointer to a \code{serial_dev}
 structure and one character as parameters, and writing
 this character to the serial port, using the following steps:

More information about the training-materials-updates mailing list