[FE training-materials-updates] Fix improper used of kstruct for plaftorm_data field

Boris Brezillon boris.brezillon at free-electrons.com
Sat Dec 6 14:10:21 CET 2014

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=5e7f6a1ad94bfd0b828723ebf4d7628da68595df


commit 5e7f6a1ad94bfd0b828723ebf4d7628da68595df
Author: Boris Brezillon <boris.brezillon at free-electrons.com>
Date:   Sat Dec 6 14:07:09 2014 +0100

    Fix improper used of kstruct for plaftorm_data field
    platform_data is a void * field and thus should not be declared as a kstruct.
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>


 slides/kernel-device-model/kernel-device-model.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index ed9a061..1459b02 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -481,7 +481,7 @@ sport->rxirq = platform_get_irq(pdev, 0);
   \item In addition to the well-defined resources, many drivers
     require driver-specific information for each platform device
-  \item Such information can be passed using the \kstruct{platform_data}
+  \item Such information can be passed using the \code{platform_data}
     field of \kstruct{device} (from which
     \kstruct{platform_device} inherits)
   \item As it is a \code{void *} pointer, it can be used to pass any

More information about the training-materials-updates mailing list