summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
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-mxs
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-mxs')
-rw-r--r--arch/arm/mach-mxs/power.c1
-rw-r--r--arch/arm/mach-mxs/usb-imx23.c1
-rw-r--r--arch/arm/mach-mxs/usb-imx28.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/power.c b/arch/arm/mach-mxs/power.c
index 74c5479f3e..6febf5dbaa 100644
--- a/arch/arm/mach-mxs/power.c
+++ b/arch/arm/mach-mxs/power.c
@@ -14,6 +14,7 @@
#include <stmp-device.h>
#include <errno.h>
#include <mach/imx-regs.h>
+#include <mach/power.h>
#define POWER_CTRL (IMX_POWER_BASE + 0x0)
#define POWER_CTRL_CLKGATE 0x40000000
diff --git a/arch/arm/mach-mxs/usb-imx23.c b/arch/arm/mach-mxs/usb-imx23.c
index e626396f9d..d9a54b66f8 100644
--- a/arch/arm/mach-mxs/usb-imx23.c
+++ b/arch/arm/mach-mxs/usb-imx23.c
@@ -17,6 +17,7 @@
#include <io.h>
#include <mach/imx23-regs.h>
#include <mach/power.h>
+#include <mach/usb.h>
#define USBPHY_PWD (IMX_USBPHY_BASE + 0x0)
diff --git a/arch/arm/mach-mxs/usb-imx28.c b/arch/arm/mach-mxs/usb-imx28.c
index a87d4f6cbc..a4e1bdb280 100644
--- a/arch/arm/mach-mxs/usb-imx28.c
+++ b/arch/arm/mach-mxs/usb-imx28.c
@@ -18,6 +18,7 @@
#include <io.h>
#include <errno.h>
#include <mach/imx28-regs.h>
+#include <mach/usb.h>
#define POWER_CTRL (IMX_POWER_BASE + 0x0)
#define POWER_CTRL_CLKGATE 0x40000000