summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-18 10:00:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-18 10:10:40 +0100
commit07b1c63db8eefeb69d6e0644446ff14aacbb7ae2 (patch)
treec5c9920a2b048b0afdb05af26a1816adcf1f723b /arch/arm/mach-ep93xx
parent27166fb0b1eaa538555fe1306b5ca8922520584f (diff)
downloadbarebox-07b1c63db8eefeb69d6e0644446ff14aacbb7ae2.tar.gz
barebox-07b1c63db8eefeb69d6e0644446ff14aacbb7ae2.tar.xz
treewide: Add missing includes
Many files in the tree implement functions, but do not include the header files which provide the prototypes for these functions. This means conflicting prototypes remain undetected. Add the missing includes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r--arch/arm/mach-ep93xx/gpio.c1
-rw-r--r--arch/arm/mach-ep93xx/led.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/gpio.c b/arch/arm/mach-ep93xx/gpio.c
index 0c87152032..20477f83e6 100644
--- a/arch/arm/mach-ep93xx/gpio.c
+++ b/arch/arm/mach-ep93xx/gpio.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <init.h>
#include <io.h>
+#include <gpio.h>
#include <mach/ep93xx-regs.h>
#define EP93XX_GPIO_NUM_PORTS 8
diff --git a/arch/arm/mach-ep93xx/led.c b/arch/arm/mach-ep93xx/led.c
index a415bce0d7..47e24cd6ed 100644
--- a/arch/arm/mach-ep93xx/led.c
+++ b/arch/arm/mach-ep93xx/led.c
@@ -20,6 +20,8 @@
#include <io.h>
#include <mach/ep93xx-regs.h>
+#include "led.h"
+
#define GREEN_LED_POS 0x01
#define RED_LED_POS 0x02