summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-05 20:32:09 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-05 20:32:09 +0100
commit22a28f9caa2f96b52e1a427c32851298e14f8f33 (patch)
tree219467e72d72ea4204c28dcf6f8fd3643e5f8009 /firmware/target/arm/imx233
parent2f4a94189da37e226a3a66766ed16726e04b5f36 (diff)
downloadrockbox-22a28f9caa2f96b52e1a427c32851298e14f8f33.tar.gz
rockbox-22a28f9caa2f96b52e1a427c32851298e14f8f33.tar.bz2
rockbox-22a28f9caa2f96b52e1a427c32851298e14f8f33.zip
Add missing kernel.h includes (hopefully all of them).
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
Diffstat (limited to 'firmware/target/arm/imx233')
-rw-r--r--firmware/target/arm/imx233/adc-imx233.c2
-rw-r--r--firmware/target/arm/imx233/audioout-imx233.c8
-rw-r--r--firmware/target/arm/imx233/button-lradc-imx233.c6
-rw-r--r--firmware/target/arm/imx233/creative-zen/lcd-zen.c3
-rw-r--r--firmware/target/arm/imx233/dcp-imx233.c4
-rw-r--r--firmware/target/arm/imx233/debug-imx233.c2
-rw-r--r--firmware/target/arm/imx233/dma-imx233.c3
7 files changed, 22 insertions, 6 deletions
diff --git a/firmware/target/arm/imx233/adc-imx233.c b/firmware/target/arm/imx233/adc-imx233.c
index 36ac0f4eae..f3b7869159 100644
--- a/firmware/target/arm/imx233/adc-imx233.c
+++ b/firmware/target/arm/imx233/adc-imx233.c
@@ -19,8 +19,10 @@
*
****************************************************************************/
+#include "config.h"
#include "adc-target.h"
#include "system.h"
+#include "kernel.h"
#include "powermgmt-target.h"
#include "lradc-imx233.h"
#include "power-imx233.h"
diff --git a/firmware/target/arm/imx233/audioout-imx233.c b/firmware/target/arm/imx233/audioout-imx233.c
index 26a480d05c..c92804c2d4 100644
--- a/firmware/target/arm/imx233/audioout-imx233.c
+++ b/firmware/target/arm/imx233/audioout-imx233.c
@@ -18,11 +18,15 @@
* KIND, either express or implied.
*
****************************************************************************/
+
+#include <string.h>
+
+#include "config.h"
+#include "kernel.h"
#include "audioout-imx233.h"
#include "clkctrl-imx233.h"
#include "rtc-imx233.h"
#include "pcm_sampr.h"
-#include "string.h"
#include "audio-target.h"
#ifndef IMX233_AUDIO_COUPLING_MODE
@@ -294,4 +298,4 @@ struct imx233_audioout_info_t imx233_audioout_get_info(void)
info.dac = !BF_RD(AUDIOOUT_PWRDN, DAC);
info.capless = BF_RD(AUDIOOUT_PWRDN, CAPLESS);
return info;
-} \ No newline at end of file
+}
diff --git a/firmware/target/arm/imx233/button-lradc-imx233.c b/firmware/target/arm/imx233/button-lradc-imx233.c
index 5e3b7165a6..6bb7f9babe 100644
--- a/firmware/target/arm/imx233/button-lradc-imx233.c
+++ b/firmware/target/arm/imx233/button-lradc-imx233.c
@@ -18,8 +18,12 @@
* KIND, either express or implied.
*
****************************************************************************/
+
+#include <stdlib.h>
+
+#include "cpu.h"
+#include "kernel.h"
#include "button-lradc-imx233.h"
-#include "stdlib.h"
#include "lradc-imx233.h"
#include "pinctrl-imx233.h"
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
index 7e9e98271c..c653b54848 100644
--- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
@@ -18,10 +18,12 @@
* KIND, either express or implied.
*
****************************************************************************/
+
#include <sys/types.h> /* off_t */
#include <string.h>
#include "cpu.h"
#include "system.h"
+#include "kernel.h"
#include "backlight-target.h"
#include "lcd.h"
#include "lcdif-imx233.h"
@@ -346,4 +348,3 @@ void lcd_update_rect(int x, int y, int w, int h)
}
}
}
-
diff --git a/firmware/target/arm/imx233/dcp-imx233.c b/firmware/target/arm/imx233/dcp-imx233.c
index 8c0c1c4592..c800d890d3 100644
--- a/firmware/target/arm/imx233/dcp-imx233.c
+++ b/firmware/target/arm/imx233/dcp-imx233.c
@@ -18,8 +18,10 @@
* KIND, either express or implied.
*
****************************************************************************/
+
#include "config.h"
#include "system.h"
+#include "kernel.h"
#include "dcp-imx233.h"
#include "string.h"
#include "kernel-imx233.h"
@@ -247,4 +249,4 @@ struct imx233_dcp_info_t imx233_dcp_get_info(unsigned flags)
info.csc.enable = HW_DCP_CSCCTRL0 & HW_DCP_CSCCTRL0__ENABLE;
}
return info;
-} \ No newline at end of file
+}
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c
index 55dbe183b4..6fe59cad20 100644
--- a/firmware/target/arm/imx233/debug-imx233.c
+++ b/firmware/target/arm/imx233/debug-imx233.c
@@ -19,7 +19,9 @@
*
****************************************************************************/
+#include "cpu.h"
#include "system.h"
+#include "kernel.h"
#include "dma-imx233.h"
#include "lcd.h"
#include "font.h"
diff --git a/firmware/target/arm/imx233/dma-imx233.c b/firmware/target/arm/imx233/dma-imx233.c
index 81ae5aeb72..6727e9b95b 100644
--- a/firmware/target/arm/imx233/dma-imx233.c
+++ b/firmware/target/arm/imx233/dma-imx233.c
@@ -18,8 +18,10 @@
* KIND, either express or implied.
*
****************************************************************************/
+
#include "config.h"
#include "system.h"
+#include "kernel.h"
#include "dma-imx233.h"
#include "lcd.h"
#include "string.h"
@@ -287,4 +289,3 @@ struct imx233_dma_info_t imx233_dma_get_info(unsigned chan, unsigned flags)
s.nr_unaligned = apb_nr_unaligned[chan];
return s;
}
-