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
This commit is contained in:
Rafaël Carré 2010-02-05 12:48:39 +00:00
parent 12af2926e5
commit f0d53ea8d6

View file

@ -21,6 +21,9 @@
#ifndef CLOCK_TARGET_H #ifndef CLOCK_TARGET_H
#define CLOCK_TARGET_H #define CLOCK_TARGET_H
#include "config.h"
#include "cpu.h"
/* returns clock divider, given maximal target frequency and clock reference */ /* returns clock divider, given maximal target frequency and clock reference */
#define CLK_DIV(ref, target) ((ref + target - 1) / target) #define CLK_DIV(ref, target) ((ref + target - 1) / target)