[bootlin/training-materials updates] master: linux: serial: Fix a typo in the lab book (ceda78a5)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:37 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/ceda78a5c1675b06ce1b9d605b01c372f61ec27e
>---------------------------------------------------------------
commit ceda78a5c1675b06ce1b9d605b01c372f61ec27e
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>
>---------------------------------------------------------------
ceda78a5c1675b06ce1b9d605b01c372f61ec27e
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
offset.
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