]> git.baikalelectronics.ru Git - uboot.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)
commit56638edeff0aa28ec2f910a5a22a608951b70c64
tree1703fef2feb486e971c760b79e128c6b8a5d8b10
parent747220571ef900732f09edb581de3b19d84a8994
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