[bootlin/training-materials updates] master: slides/sysdev-hw-devices: add missing Elixir links (282ee271)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Sep 28 13:23:08 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/282ee271c6ecb3d261c151837b830c26a8ab83c3
>---------------------------------------------------------------
commit 282ee271c6ecb3d261c151837b830c26a8ab83c3
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Sep 28 13:23:08 2022 +0200
slides/sysdev-hw-devices: add missing Elixir links
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
282ee271c6ecb3d261c151837b830c26a8ab83c3
slides/sysdev-hw-devices/sysdev-hw-devices.tex | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/slides/sysdev-hw-devices/sysdev-hw-devices.tex b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
index d9b96465..68e564b6 100644
--- a/slides/sysdev-hw-devices/sysdev-hw-devices.tex
+++ b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
@@ -190,7 +190,7 @@ drivers/gpio/gpio-pca953x.c: { .compatible = "maxim,max7313", .data = OF_953X
\item \kfile{drivers/gpio/gpio-pca953x.c} seems to support it
\item Read \kfile{drivers/gpio/Makefile} to learn which kernel
configuration option enables this driver
- \begin{block}{drivers/gpio/Makefile}
+ \begin{block}{\kfile{drivers/gpio/Makefile}}
{\tiny
\begin{verbatim}
obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o
@@ -1484,7 +1484,7 @@ examples:
\end{frame}
\begin{frame}[fragile]{Matching with drivers in Linux: platform driver}
- \begin{block}{drivers/tty/serial/stm32-usart.c}
+ \begin{block}{\kfile{drivers/tty/serial/stm32-usart.c}}
{\tiny
\begin{minted}{c}
static const struct of_device_id stm32_match[] = {
@@ -1495,6 +1495,8 @@ static const struct of_device_id stm32_match[] = {
};
MODULE_DEVICE_TABLE(of, stm32_match);
+...
+
static struct platform_driver stm32_serial_driver = {
.probe = stm32_serial_probe,
.remove = stm32_serial_remove,
@@ -1510,7 +1512,7 @@ static struct platform_driver stm32_serial_driver = {
\end{frame}
\begin{frame}[fragile]{Matching with drivers in Linux: I2C driver}
- \begin{block}{sound/soc/codecs/cs42l51-i2c.c}
+ \begin{block}{\kfile{sound/soc/codecs/cs42l51-i2c.c}}
{\tiny
\begin{minted}{c}
const struct of_device_id cs42l51_of_match[] = {
More information about the training-materials-updates
mailing list