diff options
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx_cds.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_cds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index 18e6e11f702..5fd53eba691 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -273,9 +273,9 @@ mpc85xx_cds_setup_arch(void) | |||
273 | 273 | ||
274 | cpu = of_find_node_by_type(NULL, "cpu"); | 274 | cpu = of_find_node_by_type(NULL, "cpu"); |
275 | if (cpu != 0) { | 275 | if (cpu != 0) { |
276 | unsigned int *fp; | 276 | const unsigned int *fp; |
277 | 277 | ||
278 | fp = (int *)get_property(cpu, "clock-frequency", NULL); | 278 | fp = get_property(cpu, "clock-frequency", NULL); |
279 | if (fp != 0) | 279 | if (fp != 0) |
280 | loops_per_jiffy = *fp / HZ; | 280 | loops_per_jiffy = *fp / HZ; |
281 | else | 281 | else |