aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-09-12 22:37:29 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-05 16:02:50 +0100
commit5876d0ade10d53abe4e9c6666c5117ca73a211f6 (patch)
tree533837fc527858e7540c5e064a3acec91f0e27b5 /.clang-format
parent432436797bedf396ad698477a19f9d2e13147621 (diff)
downloadfarga-5876d0ade10d53abe4e9c6666c5117ca73a211f6.tar.gz
farga-5876d0ade10d53abe4e9c6666c5117ca73a211f6.zip
kernel/dtm: Add an example on the kernel DT API
This comes in the form of a simple kernel module which iterates over CPUs and prints the contents of some device tree nodes. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index d21d53a..da4056d 100644
--- a/.clang-format
+++ b/.clang-format
@@ -55,6 +55,9 @@ DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: false
+ForEachMacros:
+ - 'for_each_possible_cpu'
+
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '.*'