blog: nixos-kernel-hacking: use "c" syntax highlighting for device tree files

This commit is contained in:
2024-11-16 14:10:24 +00:00
parent 56359d0cac
commit 13a296e7b5

View File

@@ -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/;