[bootlin/training-materials updates] master: Kernel slides: fix mismatch with the reference kernel code (abc5bb33)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Apr 21 11:20:00 CEST 2021


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

>---------------------------------------------------------------

commit abc5bb33d37a2d094e376eb12e9ff97a83e5db89
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Apr 21 11:20:00 2021 +0200

    Kernel slides: fix mismatch with the reference kernel code
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

abc5bb33d37a2d094e376eb12e9ff97a83e5db89
 slides/kernel-device-model/kernel-device-model.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index 022d15bd..05b1ff72 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -572,7 +572,7 @@ struct imxuart_platform_data {
   \item The MX1ADS board code instantiated such a structure
     \begin{block}{}
   \begin{minted}[fontsize=\footnotesize]{c}
-static struct imxuart_platform_data uart1_pdata = {
+static struct imxuart_platform_data uart_pdata = {
     .flags = IMXUART_HAVE_RTSCTS,
 };
   \end{minted}
@@ -591,7 +591,7 @@ static struct imxuart_platform_data uart1_pdata = {
 struct platform_device mx1ads_uart1 = {
     .name = "imx-uart",
     .dev {
-         .platform_data = &uart1_pdata,
+         .platform_data = &uart_pdata,
     },
     .resource = imx_uart1_resources,
     [...]




More information about the training-materials-updates mailing list