Skip to content

Commit

Permalink
Kernel slides: fix mismatch with the reference kernel code
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
  • Loading branch information
michaelopdenacker authored and tpetazzoni committed Oct 29, 2021
1 parent 3514477 commit a86440b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slides/kernel-device-model/kernel-device-model.tex
Expand Up @@ -572,7 +572,7 @@ \subsection{Platform drivers}
\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}
Expand All @@ -591,7 +591,7 @@ \subsection{Platform drivers}
struct platform_device mx1ads_uart1 = {
.name = "imx-uart",
.dev {
.platform_data = &uart1_pdata,
.platform_data = &uart_pdata,
},
.resource = imx_uart1_resources,
[...]
Expand Down

0 comments on commit a86440b

Please sign in to comment.