summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-03-03 20:26:08 +0100
committerThomas Martitz <kugel@rockbox.org>2014-03-03 20:26:08 +0100
commit68768260e867a9638f5bb0b5f37a2bcf4c1a34d1 (patch)
tree19971636190126c3aba9477bd7329f1ad11b5278 /firmware/target
parentc245de029dc0d2166bd1da0c0cff3795530187a1 (diff)
downloadrockbox-68768260e867a9638f5bb0b5f37a2bcf4c1a34d1.tar.gz
rockbox-68768260e867a9638f5bb0b5f37a2bcf4c1a34d1.zip
Fix more reds.
Change-Id: I4b58dda0953b7f9799238c32b78037b0a5403c04
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/imx31/debug-imx31.c2
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/backlight-gigabeat-s.c2
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c4
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c2
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c2
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/system-target.h1
-rw-r--r--firmware/target/arm/imx31/i2c-imx31.h1
-rw-r--r--firmware/target/arm/pbell/vibe500/button-vibe500.c1
8 files changed, 13 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/debug-imx31.c b/firmware/target/arm/imx31/debug-imx31.c
index 2064a22f63..ff44f234df 100644
--- a/firmware/target/arm/imx31/debug-imx31.c
+++ b/firmware/target/arm/imx31/debug-imx31.c
@@ -18,8 +18,10 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include "config.h" 22#include "config.h"
22#include "system.h" 23#include "system.h"
24#include "kernel.h"
23#include "string.h" 25#include "string.h"
24#include "button.h" 26#include "button.h"
25#include "lcd.h" 27#include "lcd.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/backlight-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/backlight-gigabeat-s.c
index 95f894bbce..60fcb4729d 100644
--- a/firmware/target/arm/imx31/gigabeat-s/backlight-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/backlight-gigabeat-s.c
@@ -18,8 +18,10 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include "config.h" 22#include "config.h"
22#include "system.h" 23#include "system.h"
24#include "kernel.h"
23#include "backlight.h" 25#include "backlight.h"
24#include "mc13783.h" 26#include "mc13783.h"
25#include "backlight-target.h" 27#include "backlight-target.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c
index 2ed6d80afe..108a6d0944 100644
--- a/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c
@@ -19,14 +19,16 @@
19 * KIND, either express or implied. 19 * KIND, either express or implied.
20 * 20 *
21 ****************************************************************************/ 21 ****************************************************************************/
22
22#include "config.h" 23#include "config.h"
23#include "system.h" 24#include "system.h"
25#include "kernel.h"
26#include "thread.h"
24#include "mc13783.h" 27#include "mc13783.h"
25#include "iomuxc-imx31.h" 28#include "iomuxc-imx31.h"
26#include "gpio-imx31.h" 29#include "gpio-imx31.h"
27#include "i2c-imx31.h" 30#include "i2c-imx31.h"
28#include "fmradio_i2c.h" 31#include "fmradio_i2c.h"
29#include "thread.h"
30#include "rds.h" 32#include "rds.h"
31#include "tuner.h" 33#include "tuner.h"
32 34
diff --git a/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
index e20307d61e..06c6eca6d4 100644
--- a/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
@@ -18,11 +18,13 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#ifdef BOOTLOADER 22#ifdef BOOTLOADER
22#include <string.h> /* memset */ 23#include <string.h> /* memset */
23#endif 24#endif
24#include "config.h" 25#include "config.h"
25#include "system.h" 26#include "system.h"
27#include "kernel.h"
26#include "lcd.h" 28#include "lcd.h"
27#include "lcd-target.h" 29#include "lcd-target.h"
28#include "backlight-target.h" 30#include "backlight-target.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
index 2809644589..d2870b47de 100644
--- a/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
@@ -18,9 +18,11 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include <stdlib.h> 22#include <stdlib.h>
22#include "config.h" 23#include "config.h"
23#include "system.h" 24#include "system.h"
25#include "kernel.h"
24#include "thread.h" 26#include "thread.h"
25#include "mc13783.h" 27#include "mc13783.h"
26#include "adc.h" 28#include "adc.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/system-target.h b/firmware/target/arm/imx31/gigabeat-s/system-target.h
index c08b3acfed..b12ca13bb5 100644
--- a/firmware/target/arm/imx31/gigabeat-s/system-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/system-target.h
@@ -23,7 +23,6 @@
23 23
24#include "system-arm.h" 24#include "system-arm.h"
25#include "mmu-arm.h" 25#include "mmu-arm.h"
26#include "kernel.h"
27 26
28/* High enough for most tasks but low enough for reduced voltage */ 27/* High enough for most tasks but low enough for reduced voltage */
29#define CPUFREQ_DEFAULT 264000000 28#define CPUFREQ_DEFAULT 264000000
diff --git a/firmware/target/arm/imx31/i2c-imx31.h b/firmware/target/arm/imx31/i2c-imx31.h
index f73a8e6320..b7305931d1 100644
--- a/firmware/target/arm/imx31/i2c-imx31.h
+++ b/firmware/target/arm/imx31/i2c-imx31.h
@@ -22,6 +22,7 @@
22#define I2C_IMX31_H 22#define I2C_IMX31_H
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include "semaphore.h"
25 26
26/* I2C module usage masks */ 27/* I2C module usage masks */
27#define USE_I2C1_MODULE (1 << 0) 28#define USE_I2C1_MODULE (1 << 0)
diff --git a/firmware/target/arm/pbell/vibe500/button-vibe500.c b/firmware/target/arm/pbell/vibe500/button-vibe500.c
index 54b4d2dbb1..9afc9eecab 100644
--- a/firmware/target/arm/pbell/vibe500/button-vibe500.c
+++ b/firmware/target/arm/pbell/vibe500/button-vibe500.c
@@ -21,6 +21,7 @@
21 ****************************************************************************/ 21 ****************************************************************************/
22 22
23#include "system.h" 23#include "system.h"
24#include "kernel.h"
24#include "button.h" 25#include "button.h"
25#include "backlight.h" 26#include "backlight.h"
26#include "powermgmt.h" 27#include "powermgmt.h"