]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/common/icst307.c
ARM: ICST: move minimum VCO frequency to icst_params
[net-next-2.6.git] / arch / arm / common / icst307.c
index 66c69e597b70f81977e69d1edda2f340ed562f55..312485fab4a6f52cedd02679dea7ada77895176b 100644 (file)
@@ -53,7 +53,7 @@ icst307_hz_to_vco(const struct icst_params *p, unsigned long freq)
                /*
                 * f must be between 6MHz and 200MHz (3.3 or 5V)
                 */
-               if (f > ICST307_VCO_MIN && f <= p->vco_max)
+               if (f > p->vco_min && f <= p->vco_max)
                        break;
        } while (i < ARRAY_SIZE(idx2s));