git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'merge'
[pandora-kernel.git]
/
arch
/
powerpc
/
platforms
/
83xx
/
mpc834x_itx.c
diff --git
a/arch/powerpc/platforms/83xx/mpc834x_itx.c
b/arch/powerpc/platforms/83xx/mpc834x_itx.c
index
cf3967a
..
969fbb6
100644
(file)
--- a/
arch/powerpc/platforms/83xx/mpc834x_itx.c
+++ b/
arch/powerpc/platforms/83xx/mpc834x_itx.c
@@
-60,8
+60,8
@@
static void __init mpc834x_itx_setup_arch(void)
np = of_find_node_by_type(NULL, "cpu");
if (np != 0) {
np = of_find_node_by_type(NULL, "cpu");
if (np != 0) {
- unsigned int *fp =
-
(int *)
get_property(np, "clock-frequency", NULL);
+
const
unsigned int *fp =
+
get_property(np, "clock-frequency", NULL);
if (fp != 0)
loops_per_jiffy = *fp / HZ;
else
if (fp != 0)
loops_per_jiffy = *fp / HZ;
else