summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-05 12:48:39 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-05 12:48:39 +0000
commitf0d53ea8d64cf5a7fabcb81168fa4f072d81229c (patch)
tree953c8919677e17eef37c0dea4ade6dd90040c607 /firmware/target/arm
parent12af2926e50450fe8a5aacbc1d4477b68fdd3e63 (diff)
Sansa ASM: clock-target.h needs to know the CPU
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24521 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/clock-target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/clock-target.h b/firmware/target/arm/as3525/clock-target.h
index 16f28429b8..2c3632c8be 100644
--- a/firmware/target/arm/as3525/clock-target.h
+++ b/firmware/target/arm/as3525/clock-target.h
@@ -21,6 +21,9 @@
#ifndef CLOCK_TARGET_H
#define CLOCK_TARGET_H
+#include "config.h"
+#include "cpu.h"
+
/* returns clock divider, given maximal target frequency and clock reference */
#define CLK_DIV(ref, target) ((ref + target - 1) / target)