diff options
author | Christoph Hellwig <hch@lst.de> | 2008-01-27 19:41:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:35 -0500 |
commit | bb8c093bdea62f2ae371b98ebff81b0407852faf (patch) | |
tree | 7937a70c333356a85b344f883608eeaf93dd3d2b /drivers/net/wireless/iwlwifi/iwl-4965-debug.h | |
parent | 403ab56b1c2786b0e1d58c27f5ce667b529c7faa (diff) |
iwlwifi: cleanup namespace
Prefix all symbols with iwl3945_ or iwl4965_ and thus allow building
the driver into the kernel. Also remove all the useless default
statements in Kconfig while we're at it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-debug.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-debug.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-debug.h b/drivers/net/wireless/iwlwifi/iwl-4965-debug.h index 0c74883d2f8b..00bc1faece92 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-debug.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-debug.h | |||
@@ -26,18 +26,18 @@ | |||
26 | * | 26 | * |
27 | *****************************************************************************/ | 27 | *****************************************************************************/ |
28 | 28 | ||
29 | #ifndef __iwl_debug_h__ | 29 | #ifndef __iwl4965_debug_h__ |
30 | #define __iwl_debug_h__ | 30 | #define __iwl4965_debug_h__ |
31 | 31 | ||
32 | #ifdef CONFIG_IWL4965_DEBUG | 32 | #ifdef CONFIG_IWL4965_DEBUG |
33 | extern u32 iwl_debug_level; | 33 | extern u32 iwl4965_debug_level; |
34 | #define IWL_DEBUG(level, fmt, args...) \ | 34 | #define IWL_DEBUG(level, fmt, args...) \ |
35 | do { if (iwl_debug_level & (level)) \ | 35 | do { if (iwl4965_debug_level & (level)) \ |
36 | printk(KERN_ERR DRV_NAME": %c %s " fmt, \ | 36 | printk(KERN_ERR DRV_NAME": %c %s " fmt, \ |
37 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) | 37 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) |
38 | 38 | ||
39 | #define IWL_DEBUG_LIMIT(level, fmt, args...) \ | 39 | #define IWL_DEBUG_LIMIT(level, fmt, args...) \ |
40 | do { if ((iwl_debug_level & (level)) && net_ratelimit()) \ | 40 | do { if ((iwl4965_debug_level & (level)) && net_ratelimit()) \ |
41 | printk(KERN_ERR DRV_NAME": %c %s " fmt, \ | 41 | printk(KERN_ERR DRV_NAME": %c %s " fmt, \ |
42 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) | 42 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) |
43 | #else | 43 | #else |
@@ -68,7 +68,7 @@ static inline void IWL_DEBUG_LIMIT(int level, const char *fmt, ...) | |||
68 | * | 68 | * |
69 | * % cat /proc/net/iwl/debug_level | 69 | * % cat /proc/net/iwl/debug_level |
70 | * | 70 | * |
71 | * you simply need to add your entry to the iwl_debug_levels array. | 71 | * you simply need to add your entry to the iwl4965_debug_levels array. |
72 | * | 72 | * |
73 | * If you do not see debug_level in /proc/net/iwl then you do not have | 73 | * If you do not see debug_level in /proc/net/iwl then you do not have |
74 | * CONFIG_IWL4965_DEBUG defined in your kernel configuration | 74 | * CONFIG_IWL4965_DEBUG defined in your kernel configuration |