diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debug.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debug.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.c b/drivers/net/wireless/iwlwifi/iwl-debug.c index 87535a67de76..8a44f594528d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debug.c +++ b/drivers/net/wireless/iwlwifi/iwl-debug.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * USA | 22 | * USA |
23 | * | 23 | * |
24 | * The full GNU General Public License is included in this distribution | 24 | * The full GNU General Public License is included in this distribution |
25 | * in the file called LICENSE.GPL. | 25 | * in the file called COPYING. |
26 | * | 26 | * |
27 | * Contact Information: | 27 | * Contact Information: |
28 | * Intel Linux Wireless <ilw@linux.intel.com> | 28 | * Intel Linux Wireless <ilw@linux.intel.com> |
@@ -66,6 +66,7 @@ | |||
66 | #include <linux/device.h> | 66 | #include <linux/device.h> |
67 | #include <linux/interrupt.h> | 67 | #include <linux/interrupt.h> |
68 | #include <linux/export.h> | 68 | #include <linux/export.h> |
69 | #include "iwl-drv.h" | ||
69 | #include "iwl-debug.h" | 70 | #include "iwl-debug.h" |
70 | #include "iwl-devtrace.h" | 71 | #include "iwl-devtrace.h" |
71 | 72 | ||
@@ -85,11 +86,11 @@ void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ | |||
85 | } | 86 | } |
86 | 87 | ||
87 | __iwl_fn(warn) | 88 | __iwl_fn(warn) |
88 | EXPORT_SYMBOL_GPL(__iwl_warn); | 89 | IWL_EXPORT_SYMBOL(__iwl_warn); |
89 | __iwl_fn(info) | 90 | __iwl_fn(info) |
90 | EXPORT_SYMBOL_GPL(__iwl_info); | 91 | IWL_EXPORT_SYMBOL(__iwl_info); |
91 | __iwl_fn(crit) | 92 | __iwl_fn(crit) |
92 | EXPORT_SYMBOL_GPL(__iwl_crit); | 93 | IWL_EXPORT_SYMBOL(__iwl_crit); |
93 | 94 | ||
94 | void __iwl_err(struct device *dev, bool rfkill_prefix, bool trace_only, | 95 | void __iwl_err(struct device *dev, bool rfkill_prefix, bool trace_only, |
95 | const char *fmt, ...) | 96 | const char *fmt, ...) |
@@ -110,7 +111,7 @@ void __iwl_err(struct device *dev, bool rfkill_prefix, bool trace_only, | |||
110 | trace_iwlwifi_err(&vaf); | 111 | trace_iwlwifi_err(&vaf); |
111 | va_end(args); | 112 | va_end(args); |
112 | } | 113 | } |
113 | EXPORT_SYMBOL_GPL(__iwl_err); | 114 | IWL_EXPORT_SYMBOL(__iwl_err); |
114 | 115 | ||
115 | #if defined(CONFIG_IWLWIFI_DEBUG) || defined(CONFIG_IWLWIFI_DEVICE_TRACING) | 116 | #if defined(CONFIG_IWLWIFI_DEBUG) || defined(CONFIG_IWLWIFI_DEVICE_TRACING) |
116 | void __iwl_dbg(struct device *dev, | 117 | void __iwl_dbg(struct device *dev, |
@@ -133,5 +134,5 @@ void __iwl_dbg(struct device *dev, | |||
133 | trace_iwlwifi_dbg(level, in_interrupt(), function, &vaf); | 134 | trace_iwlwifi_dbg(level, in_interrupt(), function, &vaf); |
134 | va_end(args); | 135 | va_end(args); |
135 | } | 136 | } |
136 | EXPORT_SYMBOL_GPL(__iwl_dbg); | 137 | IWL_EXPORT_SYMBOL(__iwl_dbg); |
137 | #endif | 138 | #endif |