On Fri, 2009-01-09 at 13:24 +0100, Gabor Juhos wrote: > The RTC register offsets don't fit into 'u16' on the AR913x, so we have > to remove the existing casts. > > Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx> > Signed-off-by: Imre Kaloz <kaloz@xxxxxxxxxxx> > --- > drivers/net/wireless/ath9k/hw.c | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c > index 088d968..742ecc1 100644 > --- a/drivers/net/wireless/ath9k/hw.c > +++ b/drivers/net/wireless/ath9k/hw.c > @@ -1008,7 +1008,7 @@ static void ath9k_hw_init_pll(struct ath_hal *ah, > pll |= SM(0xb, AR_RTC_PLL_DIV); > } > } > - REG_WRITE(ah, (u16) (AR_RTC_PLL_CONTROL), pll); > + REG_WRITE(ah, (AR_RTC_PLL_CONTROL), pll); Perhaps you could remove the parentheses as well? It looks weird otherwise. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html