aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/sunxi/sunxi_display.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2022-09-06 10:36:38 +0100
committerAndre Przywara <andre.przywara@arm.com>2023-10-22 23:40:57 +0100
commit207ed0a3ddcb23fe0a5e8f83b36e6f039270bc46 (patch)
treec01ced06673d3eeaf767156e608cd75bf06b5765 /drivers/video/sunxi/sunxi_display.c
parent30097ee3d23182aef08ff6eaf4a235eb8c365815 (diff)
downloadu-boot-207ed0a3ddcb23fe0a5e8f83b36e6f039270bc46.zip
u-boot-207ed0a3ddcb23fe0a5e8f83b36e6f039270bc46.tar.gz
u-boot-207ed0a3ddcb23fe0a5e8f83b36e6f039270bc46.tar.bz2
pinctrl: sunxi: remove GPIO_EXTRA_HEADER
U-Boot's generic GPIO_EXTRA_HEADER is a convenience symbol to allow code to more easily include platform specific GPIO headers. This should not be needed in a DM world anymore, since the generic GPIO framework handles that nicely. For Allwinner boards we still need to deal with non-DM GPIO in the SPL, but this should become the exception, not the rule. Make this more obvious by removing the definition of GPIO_EXTRA_HEADER, and just force every legacy user of platform specific GPIO to include the new sunxi_gpio.h header explicitly. Everyone doing so should feel ashamed and should find a way to avoid it from now on. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'drivers/video/sunxi/sunxi_display.c')
-rw-r--r--drivers/video/sunxi/sunxi_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/sunxi/sunxi_display.c b/drivers/video/sunxi/sunxi_display.c
index 9110a48..8da44a1 100644
--- a/drivers/video/sunxi/sunxi_display.c
+++ b/drivers/video/sunxi/sunxi_display.c
@@ -31,6 +31,7 @@
#include <malloc.h>
#include <video.h>
#include <dm/uclass-internal.h>
+#include <sunxi_gpio.h>
#include "../videomodes.h"
#include "../anx9804.h"
#include "../hitachi_tx18d42vm_lcd.h"