blog: nixos-kernel-hacking: use "c" syntax highlighting for device tree files
This commit is contained in:
@@ -98,7 +98,7 @@ distros like postmarketOS fix this by patching the device tree file like so:
|
||||
|
||||
this patch can alternately be represented as a [Device Tree Overlay][Device Tree Overlay] (DTO):
|
||||
|
||||
```dts
|
||||
```c
|
||||
// file: rk3399-pinephone-pro-lradc-fix.dtso
|
||||
|
||||
// boilerplate required by the device tree compiler.
|
||||
@@ -280,7 +280,7 @@ but we still have to associate the driver with a specific device if we want it t
|
||||
add the following Device Tree Overlay to `hardware.deviceTree.overlays`,
|
||||
as we did earlier with the battery DTO:
|
||||
|
||||
```dts
|
||||
```c
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
|
Reference in New Issue
Block a user