summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.checkpatch.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 0000000000..4b88745ba2
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,16 @@
+# Not Linux, so don't expect a Linux tree.
+--no-tree
+
+# Require every Kconfig symbol to have at least two lines in their description.
+--min-conf-desc-length=2
+
+# Ignore aspects we don't follow here.
+--ignore C99_COMMENTS
+--ignore GLOBAL_INITIALISERS
+--ignore INITIALISED_STATIC
+--ignore LINE_SPACING
+--ignore NEW_TYPEDEFS
+--ignore PREFER_ALIGNED
+--ignore PREFER_PACKED
+--ignore PREFER_PRINTF
+--ignore SPLIT_STRING