]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: board: annotate #endif lines
authorAndre Przywara <andre.przywara@arm.com>
Mon, 28 Nov 2022 00:02:56 +0000 (00:02 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 14 Dec 2022 22:31:33 +0000 (22:31 +0000)
commit64531496f990c2a63211c72b953dfc084b4c2589
tree1703fef2feb486e971c760b79e128c6b8a5d8b10
parenteeaca6ac27ccfd75956c1ad6ca27d9b9caf62c96
sunxi: board: annotate #endif lines

The legacy Allwinner code is cluttered with #ifdef's, some of them even
nested, which makes the code hard to read and error prone.
Eventually we will get rid of most of them, but for now let's at least
annotate the #endif lines with the corresponding symbol the bracket
started with.

Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/mach-sunxi/board.c
arch/arm/mach-sunxi/clock_sun6i.c
board/sunxi/board.c