From 5876d0ade10d53abe4e9c6666c5117ca73a211f6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 12 Sep 2024 22:37:29 +0200 Subject: kernel/dtm: Add an example on the kernel DT API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- .clang-format | 3 +++ 1 file changed, 3 insertions(+) (limited to '.clang-format') 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: '.*' -- cgit v1.2.3