Re: [PATCH v2 4/9] wl12xx: use frequency instead of enumerationsfor pdata clocks

From: Luciano Coelho
Date: Tue Jul 02 2013 - 16:15:24 EST


On Tue, 2013-07-02 at 18:31 +0300, Felipe Balbi wrote:
> Hi,
>
> On Tue, Jul 02, 2013 at 05:55:43PM +0300, Luciano Coelho wrote:
> > diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
> > index 1c627da..903dcb3 100644
> > --- a/drivers/net/wireless/ti/wl12xx/main.c
> > +++ b/drivers/net/wireless/ti/wl12xx/main.c
> > @@ -1701,6 +1701,42 @@ static struct ieee80211_sta_ht_cap wl12xx_ht_cap = {
> > },
> > };
> >
> > +static struct wl12xx_clock wl12xx_refclock_table[] = {
>
> const
>
> > + { 19200000, false, WL12XX_REFCLOCK_19 },
> > + { 26000000, false, WL12XX_REFCLOCK_26 },
> > + { 26000000, true, WL12XX_REFCLOCK_26_XTAL },
> > + { 38400000, false, WL12XX_REFCLOCK_38 },
> > + { 38400000, true, WL12XX_REFCLOCK_38_XTAL },
> > + { 52000000, false, WL12XX_REFCLOCK_52 },
> > + { 0, false, 0 }
> > +};
> > +
> > +static struct wl12xx_clock wl12xx_tcxoclock_table[] = {
>
> const

Duh! Thanks for noticing it.

--
Luca.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/