[bootlin/training-materials updates] master: slides/kernel-misc-subsystem: add explanations about the "parent" pointer (4b38fc40)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Jun 4 08:07:24 CEST 2020


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

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

commit 4b38fc40256c85aaae7bb677a2913869b7cdbf3e
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Thu Jun 4 08:07:24 2020 +0200

    slides/kernel-misc-subsystem: add explanations about the "parent" pointer
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


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

4b38fc40256c85aaae7bb677a2913869b7cdbf3e
 slides/kernel-misc-subsystem/kernel-misc-subsystem.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/slides/kernel-misc-subsystem/kernel-misc-subsystem.tex b/slides/kernel-misc-subsystem/kernel-misc-subsystem.tex
index f8e617c2..a7b833be 100644
--- a/slides/kernel-misc-subsystem/kernel-misc-subsystem.tex
+++ b/slides/kernel-misc-subsystem/kernel-misc-subsystem.tex
@@ -74,6 +74,8 @@ struct miscdevice  {
   \item \code{fops}, pointer to the same \kstruct{file_operations} structure
     that is used for raw character drivers, describing which functions
     implement the {\em read}, {\em write}, {\em ioctl}, etc. operations.
+  \item \code{parent}, pointer to the \code{struct device} of the
+    underlying ``physical'' device (platform device, I2C device, etc.)
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list