]> git.baikalelectronics.ru Git - uboot.git/commit
checkpatch: Don't allow common.h and dm.h in headers
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 16:16:01 +0000 (10:16 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
commit780896c7738cb107e3f6ee3e8d04722b7cee8f50
tree387ca6154bbfb29b7ff30946cac70036146c5cb6
parentb55000fac5bc63b5dcf413891ff3eeef838c11b6
checkpatch: Don't allow common.h and dm.h in headers

These headers should not be included in other header files. Add a
checkpatch rule and test for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl
tools/patman/test_checkpatch.py