]> git.dujemihanovic.xyz Git - u-boot.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)
commit23552ba142860205c4ddec414417cdc251f8cb79
tree387ca6154bbfb29b7ff30946cac70036146c5cb6
parent4620d46bf0aa00df3857a5883b790da3d12995dd
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