diff options
-rw-r--r-- | firmware/drivers/audio/wm8758.c | 2 | ||||
-rw-r--r-- | firmware/drivers/audio/wm8975.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/debug-imx31.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/backlight-gigabeat-s.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c | 4 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/system-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/imx31/i2c-imx31.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/pbell/vibe500/button-vibe500.c | 1 | ||||
-rw-r--r-- | lib/rbcodec/test/warble.c | 16 |
11 files changed, 22 insertions, 13 deletions
diff --git a/firmware/drivers/audio/wm8758.c b/firmware/drivers/audio/wm8758.c index 93ea7c2d6c..9ae78191bf 100644 --- a/firmware/drivers/audio/wm8758.c +++ b/firmware/drivers/audio/wm8758.c | |||
@@ -25,7 +25,9 @@ | |||
25 | * KIND, either express or implied. | 25 | * KIND, either express or implied. |
26 | * | 26 | * |
27 | ****************************************************************************/ | 27 | ****************************************************************************/ |
28 | |||
28 | #include "system.h" | 29 | #include "system.h" |
30 | #include "kernel.h" | ||
29 | #include "string.h" | 31 | #include "string.h" |
30 | #include "audio.h" | 32 | #include "audio.h" |
31 | 33 | ||
diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 931dae9c6f..88be2cf5ce 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c | |||
@@ -25,8 +25,10 @@ | |||
25 | * KIND, either express or implied. | 25 | * KIND, either express or implied. |
26 | * | 26 | * |
27 | ****************************************************************************/ | 27 | ****************************************************************************/ |
28 | |||
28 | #include "logf.h" | 29 | #include "logf.h" |
29 | #include "system.h" | 30 | #include "system.h" |
31 | #include "kernel.h" | ||
30 | #include "string.h" | 32 | #include "string.h" |
31 | #include "audio.h" | 33 | #include "audio.h" |
32 | #include "sound.h" | 34 | #include "sound.h" |
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" |
diff --git a/lib/rbcodec/test/warble.c b/lib/rbcodec/test/warble.c index cbecc305bf..6c8442ae26 100644 --- a/lib/rbcodec/test/warble.c +++ b/lib/rbcodec/test/warble.c | |||
@@ -625,13 +625,7 @@ static void ci_logf(const char *fmt, ...) | |||
625 | } | 625 | } |
626 | #endif | 626 | #endif |
627 | 627 | ||
628 | static void ci_yield(void) | 628 | static void stub_void_void(void) { } |
629 | { | ||
630 | } | ||
631 | |||
632 | static void commit_dcache(void) {} | ||
633 | static void commit_discard_dcache(void) {} | ||
634 | static void commit_discard_idcache(void) {} | ||
635 | 629 | ||
636 | static struct codec_api ci = { | 630 | static struct codec_api ci = { |
637 | 631 | ||
@@ -654,7 +648,7 @@ static struct codec_api ci = { | |||
654 | ci_should_loop, | 648 | ci_should_loop, |
655 | 649 | ||
656 | ci_sleep, | 650 | ci_sleep, |
657 | ci_yield, | 651 | stub_void_void, /* yield */ |
658 | 652 | ||
659 | #if NUM_CORES > 1 | 653 | #if NUM_CORES > 1 |
660 | ci_create_thread, | 654 | ci_create_thread, |
@@ -665,9 +659,9 @@ static struct codec_api ci = { | |||
665 | ci_semaphore_release, | 659 | ci_semaphore_release, |
666 | #endif | 660 | #endif |
667 | 661 | ||
668 | commit_dcache, | 662 | stub_void_void, /* commit_dcache */ |
669 | commit_discard_dcache, | 663 | stub_void_void, /* commit_discard_dcache */ |
670 | commit_discard_idcache, | 664 | stub_void_void, /* commit_discard_idcache */ |
671 | 665 | ||
672 | /* strings and memory */ | 666 | /* strings and memory */ |
673 | strcpy, | 667 | strcpy, |