diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-02-25 15:51:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-25 17:04:09 -0500 |
commit | ef33417dc9be8d8daca3c715fb5d1226b250725c (patch) | |
tree | 368ec3e17d3c1541c9fadfa07e3dbc703bf08aa1 /drivers/net/wireless/iwlegacy/iwl-dev.h | |
parent | 5f16a43617d46cf255a66f4dc193a7f5b2540aaf (diff) |
iwlegacy: change some symbols duplicated from iwlwifi directory
drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x29f0): multiple definition of `iwl_rates'
drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0xa68): first defined here
powerpc64-linux-ld: Warning: size of symbol `iwl_rates' changed from 143 in drivers/net/wireless/iwlwifi/built-in.o to 130 in drivers/net/wireless/iwlegacy/built-in.o
drivers/net/wireless/iwlegacy/built-in.o:(.data+0x0): multiple definition of `bt_coex_active'
drivers/net/wireless/iwlwifi/built-in.o:(.data+0x668): first defined here
drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x750): multiple definition of `iwl_eeprom_band_1'
drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x27d0): first defined here
drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x3f0): multiple definition of `iwl_bcast_addr'
drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x24f8): first defined here
drivers/net/wireless/iwlegacy/built-in.o:(.bss+0x3d48): multiple definition of `iwl_debug_level'
drivers/net/wireless/iwlwifi/built-in.o:(.bss+0x21950): first defined here
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-dev.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-dev.h b/drivers/net/wireless/iwlegacy/iwl-dev.h index 25718cf9919a..9ee849d669f3 100644 --- a/drivers/net/wireless/iwlegacy/iwl-dev.h +++ b/drivers/net/wireless/iwlegacy/iwl-dev.h | |||
@@ -624,7 +624,7 @@ struct iwl_hw_params { | |||
624 | * | 624 | * |
625 | ****************************************************************************/ | 625 | ****************************************************************************/ |
626 | extern void iwl4965_update_chain_flags(struct iwl_priv *priv); | 626 | extern void iwl4965_update_chain_flags(struct iwl_priv *priv); |
627 | extern const u8 iwl_bcast_addr[ETH_ALEN]; | 627 | extern const u8 iwlegacy_bcast_addr[ETH_ALEN]; |
628 | extern int iwl_legacy_queue_space(const struct iwl_queue *q); | 628 | extern int iwl_legacy_queue_space(const struct iwl_queue *q); |
629 | static inline int iwl_legacy_queue_used(const struct iwl_queue *q, int i) | 629 | static inline int iwl_legacy_queue_used(const struct iwl_queue *q, int i) |
630 | { | 630 | { |
@@ -1285,7 +1285,7 @@ struct iwl_priv { | |||
1285 | #ifdef CONFIG_IWLWIFI_LEGACY_DEBUG | 1285 | #ifdef CONFIG_IWLWIFI_LEGACY_DEBUG |
1286 | /* debugging info */ | 1286 | /* debugging info */ |
1287 | u32 debug_level; /* per device debugging will override global | 1287 | u32 debug_level; /* per device debugging will override global |
1288 | iwl_debug_level if set */ | 1288 | iwlegacy_debug_level if set */ |
1289 | #endif /* CONFIG_IWLWIFI_LEGACY_DEBUG */ | 1289 | #endif /* CONFIG_IWLWIFI_LEGACY_DEBUG */ |
1290 | #ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS | 1290 | #ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS |
1291 | /* debugfs */ | 1291 | /* debugfs */ |
@@ -1338,12 +1338,12 @@ static inline u32 iwl_legacy_get_debug_level(struct iwl_priv *priv) | |||
1338 | if (priv->debug_level) | 1338 | if (priv->debug_level) |
1339 | return priv->debug_level; | 1339 | return priv->debug_level; |
1340 | else | 1340 | else |
1341 | return iwl_debug_level; | 1341 | return iwlegacy_debug_level; |
1342 | } | 1342 | } |
1343 | #else | 1343 | #else |
1344 | static inline u32 iwl_legacy_get_debug_level(struct iwl_priv *priv) | 1344 | static inline u32 iwl_legacy_get_debug_level(struct iwl_priv *priv) |
1345 | { | 1345 | { |
1346 | return iwl_debug_level; | 1346 | return iwlegacy_debug_level; |
1347 | } | 1347 | } |
1348 | #endif | 1348 | #endif |
1349 | 1349 | ||