summaryrefslogtreecommitdiff
path: root/schulung_tools/drivers/hellodriver/patch-hello-dts.diff
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2019-02-15 13:16:28 +0106
committerJohn Ogness <john.ogness@linutronix.de>2019-02-15 13:16:28 +0106
commitf19259fb36ffe74a11325c14ee2260a8e323b8ee (patch)
tree6cf02a4fcedfa1451c164f6c3a44a0781f41a571 /schulung_tools/drivers/hellodriver/patch-hello-dts.diff
parent9fffe2a41d0aa2b47c589db2523707a9e14ab5a1 (diff)
schulung_tools: drivers: remove modules subdir
There is no need for the extra directory level. Move all the example modules to the parent "drivers" directory and delete the modules directory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/drivers/hellodriver/patch-hello-dts.diff')
-rw-r--r--schulung_tools/drivers/hellodriver/patch-hello-dts.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/schulung_tools/drivers/hellodriver/patch-hello-dts.diff b/schulung_tools/drivers/hellodriver/patch-hello-dts.diff
new file mode 100644
index 0000000..2d0bf52
--- /dev/null
+++ b/schulung_tools/drivers/hellodriver/patch-hello-dts.diff
@@ -0,0 +1,26 @@
+diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
+index d949fac..4952799 100644
+--- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
++++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
+@@ -132,6 +132,21 @@
+ status = "disabled";
+ };
+
++ hello@1 {
++ compatible = "virtual,hello";
++ index = <1>;
++ };
++
++ hello@5 {
++ compatible = "virtual,hello";
++ index = <5>;
++ };
++
++ hello@8 {
++ compatible = "virtual,hello";
++ index = <8>;
++ };
++
+ watchdog@100e5000 {
+ compatible = "arm,sp805", "arm,primecell";
+ reg = <0x100e5000 0x1000>;