summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-05 01:22:19 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-05 19:35:23 +0100
commit281d1fadb34242347da379ddeba75d2195148b4c (patch)
treedd1d1fb044d4e905c56b73e94d88a47ccc215a71 /firmware/target/arm
parentdd7b14173647c6e3326d705e5c4d802a35711030 (diff)
downloadrockbox-281d1fadb34242347da379ddeba75d2195148b4c.tar.gz
rockbox-281d1fadb34242347da379ddeba75d2195148b4c.zip
Do not include kernel.h in system.h.
system.h doesn't need it on its own and this change makes it less dependant on Rockbox internals. Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/debug-as3525.c3
-rw-r--r--firmware/target/arm/as3525/lcd-fuze.c5
-rw-r--r--firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c1
-rw-r--r--firmware/target/arm/pp/system-target.h3
4 files changed, 8 insertions, 4 deletions
diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c
index 514eebd390..ab70f73165 100644
--- a/firmware/target/arm/as3525/debug-as3525.c
+++ b/firmware/target/arm/as3525/debug-as3525.c
@@ -20,10 +20,11 @@
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23#include "system.h"
24#include "kernel.h"
23#include "button.h" 25#include "button.h"
24#include "lcd.h" 26#include "lcd.h"
25#include "font.h" 27#include "font.h"
26#include "system.h"
27#include "cpu.h" 28#include "cpu.h"
28#include "pl180.h" 29#include "pl180.h"
29#include "ascodec.h" 30#include "ascodec.h"
diff --git a/firmware/target/arm/as3525/lcd-fuze.c b/firmware/target/arm/as3525/lcd-fuze.c
index b2033738b6..df4d668ab0 100644
--- a/firmware/target/arm/as3525/lcd-fuze.c
+++ b/firmware/target/arm/as3525/lcd-fuze.c
@@ -19,11 +19,12 @@
19 * KIND, either express or implied. 19 * KIND, either express or implied.
20 * 20 *
21 ****************************************************************************/ 21 ****************************************************************************/
22#include "config.h"
23 22
23#include "config.h"
24#include "cpu.h" 24#include "cpu.h"
25#include "lcd.h"
26#include "system.h" 25#include "system.h"
26#include "kernel.h"
27#include "lcd.h"
27#include "file.h" 28#include "file.h"
28#include "clock-target.h" 29#include "clock-target.h"
29#include "dbop-as3525.h" 30#include "dbop-as3525.h"
diff --git a/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c b/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
index 8244c475fa..1b30e112fd 100644
--- a/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
+++ b/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
@@ -21,6 +21,7 @@
21 21
22#include "config.h" 22#include "config.h"
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 27
diff --git a/firmware/target/arm/pp/system-target.h b/firmware/target/arm/pp/system-target.h
index 84419edd77..742044b7be 100644
--- a/firmware/target/arm/pp/system-target.h
+++ b/firmware/target/arm/pp/system-target.h
@@ -22,9 +22,10 @@
22#ifndef SYSTEM_TARGET_H 22#ifndef SYSTEM_TARGET_H
23#define SYSTEM_TARGET_H 23#define SYSTEM_TARGET_H
24 24
25#include <stdbool.h>
25#include "config.h" 26#include "config.h"
26#include "system-arm.h" 27#include "system-arm.h"
27#include <stdbool.h> 28#include "kernel.h"
28 29
29/* TODO: This header could be split in 2 */ 30/* TODO: This header could be split in 2 */
30 31