[bootlin/training-materials updates] master: Kernel modules: misc improvements (1f1b3e62)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Dec 10 18:32:16 CET 2019

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


commit 1f1b3e626d0ba3ab24dfed811f832605308d417b
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Dec 10 18:32:16 2019 +0100

    Kernel modules: misc improvements
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 slides/kernel-device-model/kernel-device-model.tex | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index 412ae6c1..48b8f6f3 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -75,13 +75,13 @@
     \item Registering the bus type (\kstruct{bus_type})
     \item Allowing the registration of adapter drivers (USB
       controllers, I2C adapters, etc.), able to detect the
-      connected devices, and providing a communication mechanism with
-      the devices
+      connected devices (if possible), and providing a
+      communication mechanism with the devices
     \item Allowing the registration of device drivers (USB devices,
       I2C devices, PCI devices, etc.), managing the devices
     \item Matching the device drivers against the devices detected by
       the adapter drivers.
-    \item Provides an API to both adapter drivers and device drivers
+    \item Provides an API to implement both adapter drivers and device drivers
     \item Defining driver and device specific structures, mainly
       \kstruct{usb_driver} and \kstruct{usb_interface}
@@ -398,6 +398,9 @@ static int __init imx_serial_init(void) {
 static void __exit imx_serial_cleanup(void) {
 Most drivers actually use the \kfunc{module_platform_driver}

More information about the training-materials-updates mailing list