diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-debug.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-debug.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-debug.h b/drivers/net/wireless/iwlegacy/iwl-debug.h index 77467de7e028..c58003aa8185 100644 --- a/drivers/net/wireless/iwlegacy/iwl-debug.h +++ b/drivers/net/wireless/iwlegacy/iwl-debug.h | |||
@@ -42,7 +42,7 @@ do { \ | |||
42 | DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \ | 42 | DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \ |
43 | } while (0) | 43 | } while (0) |
44 | 44 | ||
45 | #ifdef CONFIG_IWLWIFI_LEGACY_DEBUG | 45 | #ifdef CONFIG_IWLEGACY_DEBUG |
46 | #define IL_DBG(level, fmt, args...) \ | 46 | #define IL_DBG(level, fmt, args...) \ |
47 | do { \ | 47 | do { \ |
48 | if (il_get_debug_level(il) & level) \ | 48 | if (il_get_debug_level(il) & level) \ |
@@ -63,9 +63,9 @@ do { \ | |||
63 | static inline void il_print_hex_dump(struct il_priv *il, int level, | 63 | static inline void il_print_hex_dump(struct il_priv *il, int level, |
64 | const void *p, u32 len) | 64 | const void *p, u32 len) |
65 | {} | 65 | {} |
66 | #endif /* CONFIG_IWLWIFI_LEGACY_DEBUG */ | 66 | #endif /* CONFIG_IWLEGACY_DEBUG */ |
67 | 67 | ||
68 | #ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS | 68 | #ifdef CONFIG_IWLEGACY_DEBUGFS |
69 | int il_dbgfs_register(struct il_priv *il, const char *name); | 69 | int il_dbgfs_register(struct il_priv *il, const char *name); |
70 | void il_dbgfs_unregister(struct il_priv *il); | 70 | void il_dbgfs_unregister(struct il_priv *il); |
71 | #else | 71 | #else |
@@ -77,7 +77,7 @@ il_dbgfs_register(struct il_priv *il, const char *name) | |||
77 | static inline void il_dbgfs_unregister(struct il_priv *il) | 77 | static inline void il_dbgfs_unregister(struct il_priv *il) |
78 | { | 78 | { |
79 | } | 79 | } |
80 | #endif /* CONFIG_IWLWIFI_LEGACY_DEBUGFS */ | 80 | #endif /* CONFIG_IWLEGACY_DEBUGFS */ |
81 | 81 | ||
82 | /* | 82 | /* |
83 | * To use the debug system: | 83 | * To use the debug system: |
@@ -99,7 +99,7 @@ static inline void il_dbgfs_unregister(struct il_priv *il) | |||
99 | * /sys/module/iwl3945/parameters/debug | 99 | * /sys/module/iwl3945/parameters/debug |
100 | * /sys/class/net/wlan0/device/debug_level | 100 | * /sys/class/net/wlan0/device/debug_level |
101 | * | 101 | * |
102 | * when CONFIG_IWLWIFI_LEGACY_DEBUG=y. | 102 | * when CONFIG_IWLEGACY_DEBUG=y. |
103 | */ | 103 | */ |
104 | 104 | ||
105 | /* 0x0000000F - 0x00000001 */ | 105 | /* 0x0000000F - 0x00000001 */ |