aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Kiselev <bigunclemax@gmail.com>2023-11-30 00:47:31 +0300
committerTom Rini <trini@konsulko.com>2023-12-19 10:07:48 -0500
commit00b049339850ecd57c518fde72cd2739a3bc0bb1 (patch)
tree3aac4f58b55ce009960314836f16572b4c2a8c2e
parent51774b3b03a60a553cf183e6b8f5f8ee80afe625 (diff)
downloadu-boot-00b049339850ecd57c518fde72cd2739a3bc0bb1.zip
u-boot-00b049339850ecd57c518fde72cd2739a3bc0bb1.tar.gz
u-boot-00b049339850ecd57c518fde72cd2739a3bc0bb1.tar.bz2
gpio: dw: Drop unused headers
Drop headers which are not used or needed in this file. Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
-rw-r--r--drivers/gpio/dwapb_gpio.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c
index e6e9194..7a6eae9 100644
--- a/drivers/gpio/dwapb_gpio.c
+++ b/drivers/gpio/dwapb_gpio.c
@@ -5,21 +5,15 @@
* DesignWare APB GPIO driver
*/
-#include <common.h>
-#include <log.h>
-#include <malloc.h>
-#include <asm/arch/gpio.h>
#include <asm/gpio.h>
#include <asm/io.h>
-#include <dm.h>
+#include <dm/device.h>
#include <dm/device-internal.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
-#include <dm/lists.h>
-#include <dm/root.h>
+#include <dm/read.h>
#include <errno.h>
#include <reset.h>
-#include <linux/bitops.h>
#define GPIO_SWPORT_DR(p) (0x00 + (p) * 0xc)
#define GPIO_SWPORT_DDR(p) (0x04 + (p) * 0xc)