wireless: remove unneeded EXPORT_SYMBOL the tickles a powerpc compiler bug
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 22 Apr 2009 05:11:05 +0000 (15:11 +1000)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Apr 2009 19:59:48 +0000 (15:59 -0400)
drivers/net/wireless/iwlwifi/iwl3945-base.c:1415: error: __ksymtab_iwl3945_rx_queue_reset causes a section type conflict

I am pretty sure that this is a compiler bug, so not to worry.  However,
as far as I can see, iwl-3945.o (the only user) and iwl3945-base.o are
always linked into the same module, so the EXPORT_SYMBOL (which causes
the problem) should not be needed.  Correct?

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c

index 617c4235d97127777ad23d1675072004b6e88c7b..70a00c8ee42eeb5a05de6f7f96ff06108370e70f 100644 (file)
@@ -1694,7 +1694,6 @@ void iwl3945_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)
        rxq->free_count = 0;
        spin_unlock_irqrestore(&rxq->lock, flags);
 }
-EXPORT_SYMBOL(iwl3945_rx_queue_reset);
 
 /*
  * this should be called while priv->lock is locked