aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-01-16 14:46:19 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-02 04:35:32 -0400
commit232eaf7f268f765b52170bec42bfa0c5825aa239 (patch)
tree972eb80dcb7d3b0d8ee10f83f307f1bc47b784a9 /arch/arm/include
parente73a46a3d3df22b379d8adcb59999eafea1d60d5 (diff)
ARM: ICST: indirect s2div and idx2s arrays via icst_params
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/hardware/icst.h2
-rw-r--r--arch/arm/include/asm/hardware/icst307.h3
-rw-r--r--arch/arm/include/asm/hardware/icst525.h3
3 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/icst.h b/arch/arm/include/asm/hardware/icst.h
index 6707c6a9132f..4d403680fa47 100644
--- a/arch/arm/include/asm/hardware/icst.h
+++ b/arch/arm/include/asm/hardware/icst.h
@@ -22,6 +22,8 @@ struct icst_params {
22 unsigned short vd_max; /* inclusive */ 22 unsigned short vd_max; /* inclusive */
23 unsigned char rd_min; /* inclusive */ 23 unsigned char rd_min; /* inclusive */
24 unsigned char rd_max; /* inclusive */ 24 unsigned char rd_max; /* inclusive */
25 const unsigned char *s2div; /* chip specific s2div array */
26 const unsigned char *idx2s; /* chip specific idx2s array */
25}; 27};
26 28
27struct icst_vco { 29struct icst_vco {
diff --git a/arch/arm/include/asm/hardware/icst307.h b/arch/arm/include/asm/hardware/icst307.h
index 0f096181e832..d76fc6e09e47 100644
--- a/arch/arm/include/asm/hardware/icst307.h
+++ b/arch/arm/include/asm/hardware/icst307.h
@@ -28,4 +28,7 @@ struct icst_vco icst307_hz_to_vco(const struct icst_params *p, unsigned long fre
28#define ICST307_VCO_MIN 6000000 28#define ICST307_VCO_MIN 6000000
29#define ICST307_VCO_MAX 200000000 29#define ICST307_VCO_MAX 200000000
30 30
31extern const unsigned char icst307_s2div[];
32extern const unsigned char icst307_idx2s[];
33
31#endif 34#endif
diff --git a/arch/arm/include/asm/hardware/icst525.h b/arch/arm/include/asm/hardware/icst525.h
index 1000a6096fcb..2f9b95386b1b 100644
--- a/arch/arm/include/asm/hardware/icst525.h
+++ b/arch/arm/include/asm/hardware/icst525.h
@@ -27,4 +27,7 @@ struct icst_vco icst525_hz_to_vco(const struct icst_params *p, unsigned long fre
27#define ICST525_VCO_MAX_3V 200000000 27#define ICST525_VCO_MAX_3V 200000000
28#define ICST525_VCO_MAX_5V 320000000 28#define ICST525_VCO_MAX_5V 320000000
29 29
30extern const unsigned char icst525_s2div[];
31extern const unsigned char icst525_idx2s[];
32
30#endif 33#endif