Disable the USB clock for now, will be used later for the AR7-HCD driver, which is...
[openwrt-10.03/.git] / target / linux / ar7-2.6 / files / arch / mips / ar7 / clock.c
index c7ae09ecd751196f269b4154a574e33a6183ca31..9bdc8f4076c0aaac338162ad5a9f83c178eab6a6 100644 (file)
@@ -103,12 +103,12 @@ static int gcd(int a, int b)
 {
        int c;
 
-       if ( a < b) {
+       if (a < b) {
                c = a;
                a = b;
                b = c;
        }
-       while (c = (a % b)) {
+       while ((c = (a % b))) {
                a = b;
                b = c;
        }
@@ -272,10 +272,10 @@ static void __init tnetd7300_init_clocks(void)
        } else {
                ar7_cpu_clock = ar7_bus_clock;
        }
-
+#if 0
        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);