Skip to contentSkip to conversation

iwl3945: fix section type conflict on powerpc

PATCH In review Johannes Berg 2 participants 2 messages Apr 22, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 iwl3945: fix section type conflict on powerpc

For some reason on powerpc I get:

drivers/net/wireless/iwlwifi/iwl3945-base.c:1416: error:
__ksymtab_iwl3945_rx_queue_reset causes a section type conflict
drivers/net/wireless/iwlwifi/iwl3945-base.c:1416: error:
__ksymtab_iwl3945_rx_queue_reset causes a section type conflict

The function doesn't need to be exported, and unexporting fixes it, so I'm not thinking about what is causing it.

---
 drivers/net/wireless/iwlwifi/iwl3945-base.c |    1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/iwlwifi/iwl3945-base.c +0 -1
@@ -1413,7 +1413,6 @@ void iwl3945_rx_queue_reset(struct iwl_p
 	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
Acked-by on v1 1/1
#1 lore raw
Quoted 20 lines · Johannes Berg

For some reason on powerpc I get:

drivers/net/wireless/iwlwifi/iwl3945-base.c:1416: error:
__ksymtab_iwl3945_rx_queue_reset causes a section type conflict
drivers/net/wireless/iwlwifi/iwl3945-base.c:1416: error:
__ksymtab_iwl3945_rx_queue_reset causes a section type conflict

The function doesn't need to be exported, and unexporting fixes it, so I'm not thinking about what is causing it.

---
 drivers/net/wireless/iwlwifi/iwl3945-base.c |    1 -
 1 file changed, 1 deletion(-)

drivers/net/wireless/iwlwifi/iwl3945-base.c void iwl3945_rx_queue_reset(struct iwl_p · line 1418

Quoted 7 lines
drivers/net/wireless/iwlwifi/iwl3945-base.c +0 -1
@@ -1413,7 +1413,6 @@ void iwl3945_rx_queue_reset(struct iwl_p
 	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

Thank you

Reinette