Re: iwlwifi: remove EXPORT_SYMBOL for static symbol

From: reinette chatre
Date: Thu Apr 30 2009 - 13:50:46 EST


On Thu, 2009-04-30 at 00:58 -0700, Andreas Schwab wrote:
> It does not make sense to apply EXPORT_SYMBOL to a static symbol. Fixes
> this build error:
>
> drivers/net/wireless/iwlwifi/iwl3945-base.c:1697: error: __ksymtab_iwl3945_rx_queue_reset causes a section type conflict
>
> Signed-off-by: Andreas Schwab <schwab@xxxxxxxxxxxxxx>
> ---
> This obsoletes 6269b731560d69c5eaa929909891edec39496d71, which was

>From which repo is this commit id?

> misattributed as a compiler bug.
> ---
> drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- linux-2.6.30-rc4.orig/drivers/net/wireless/iwlwifi/iwl3945-base.c 2009-04-30 08:59:41.000000000 +0200
> +++ linux-2.6.30-rc4/drivers/net/wireless/iwlwifi/iwl3945-base.c 2009-04-30 09:34:14.000000000 +0200
> @@ -1745,7 +1745,6 @@ static void iwl3945_rx_queue_free(struct
> rxq->bd = NULL;
> rxq->rb_stts = NULL;
> }
> -EXPORT_SYMBOL(iwl3945_rx_queue_free);
>
>
> /* Convert linear signal-to-noise ratio into dB */
>

Acked-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Thank you

Reinette


--
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/