[bootlin/training-materials updates] master: Input drivers: add the "id" field to the input_dev structure description (95856fb5)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Dec 12 13:21:50 CET 2019


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

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

commit 95856fb522010c76325c129249a7037b1f44d94e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Dec 12 13:21:50 2019 +0100

    Input drivers: add the "id" field to the input_dev structure description
    
    - As we later say it's mandatory
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

95856fb522010c76325c129249a7037b1f44d94e
 slides/kernel-input/kernel-input.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/slides/kernel-input/kernel-input.tex b/slides/kernel-input/kernel-input.tex
index 5a650650..14833073 100644
--- a/slides/kernel-input/kernel-input.tex
+++ b/slides/kernel-input/kernel-input.tex
@@ -64,6 +64,8 @@
 struct input_dev {
     const char *name;
     [...]
+    struct input_id id;
+    [...]
     unsigned long evbit[BITS_TO_LONGS(EV_CNT)];
     unsigned long keybit[BITS_TO_LONGS(KEY_CNT)];
     [...]




More information about the training-materials-updates mailing list