Return-path: Received: from xc.sipsolutions.net ([83.246.72.84]:56415 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751964AbZDVPeU (ORCPT ); Wed, 22 Apr 2009 11:34:20 -0400 Subject: [PATCH] iwl3945: fix section type conflict on powerpc From: Johannes Berg To: John Linville Cc: linux-wireless , Reinette Chatre Content-Type: text/plain Date: Wed, 22 Apr 2009 17:33:41 +0200 Message-Id: <1240414421.5198.3.camel@johannes.local> (sfid-20090422_173424_185353_6F31F183) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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. Signed-off-by: Johannes Berg --- drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 - 1 file changed, 1 deletion(-) --- wireless-testing.orig/drivers/net/wireless/iwlwifi/iwl3945-base.c 2009-04-22 17:16:53.614082341 +0200 +++ wireless-testing/drivers/net/wireless/iwlwifi/iwl3945-base.c 2009-04-22 17:16:55.382327490 +0200 @@ -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