projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable start-stop-daemon by default, i want to use this to clean up a few init script...
[15.05/openwrt.git]
/
target
/
linux
/
ar7-2.6
/
files
/
arch
/
mips
/
ar7
/
clock.c
diff --git
a/target/linux/ar7-2.6/files/arch/mips/ar7/clock.c
b/target/linux/ar7-2.6/files/arch/mips/ar7/clock.c
index
c7ae09e
..
9bdc8f4
100644
(file)
--- a/
target/linux/ar7-2.6/files/arch/mips/ar7/clock.c
+++ b/
target/linux/ar7-2.6/files/arch/mips/ar7/clock.c
@@
-103,12
+103,12
@@
static int gcd(int a, int b)
{
int c;
{
int c;
- if (
a < b) {
+ if (a < b) {
c = a;
a = b;
b = c;
}
c = a;
a = b;
b = c;
}
- while (
c = (a % b
)) {
+ while (
(c = (a % b)
)) {
a = b;
b = c;
}
a = b;
b = c;
}
@@
-272,10
+272,10
@@
static void __init tnetd7300_init_clocks(void)
} else {
ar7_cpu_clock = ar7_bus_clock;
}
} else {
ar7_cpu_clock = ar7_bus_clock;
}
-
+#if 0
tnetd7300_set_clock(USB_PLL_SOURCE_SHIFT, &clocks->usb,
bootcr, 48000000);
tnetd7300_set_clock(USB_PLL_SOURCE_SHIFT, &clocks->usb,
bootcr, 48000000);
-
+#endif
if (ar7_dsp_clock == 250000000)
tnetd7300_set_clock(DSP_PLL_SOURCE_SHIFT, &clocks->dsp,
bootcr, ar7_dsp_clock);
if (ar7_dsp_clock == 250000000)
tnetd7300_set_clock(DSP_PLL_SOURCE_SHIFT, &clocks->dsp,
bootcr, ar7_dsp_clock);