diff options
| author | Kai Liu <kaliu@codeaurora.org> | 2017-03-15 16:14:23 +0800 |
|---|---|---|
| committer | Sandeep Puligilla <spuligil@codeaurora.org> | 2017-03-20 21:15:38 -0700 |
| commit | a20938e38604ba44dcaf13290b492d7c45c6f04e (patch) | |
| tree | 91f20dee9ab6e839d311d91a5b5f2b549c1c509e /qdf/linux/src/qdf_debugfs.c | |
| parent | a6eb7d089b6770641bd79d84e885a5f6bbdbcb85 (diff) | |
qcacmn: Remove EXPORT_SYMBOL to avoid duplicate symbol error
MDM platform supports two wlan cards, so two drivers will be loaded
at same time. If export these routine, then loading the second driver
will encounter duplicate symbol error.
Change-Id: Ia2b900011e0a9f693fa28f2774a158e5f5b4291f
CRs-Fixed: 2018377
Diffstat (limited to 'qdf/linux/src/qdf_debugfs.c')
| -rw-r--r-- | qdf/linux/src/qdf_debugfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qdf/linux/src/qdf_debugfs.c b/qdf/linux/src/qdf_debugfs.c index 4a8bb9d7ca2d..12bc3038f505 100644 --- a/qdf/linux/src/qdf_debugfs.c +++ b/qdf/linux/src/qdf_debugfs.c @@ -23,6 +23,7 @@ #include <qdf_debugfs.h> #include <i_qdf_debugfs.h> +#include <qdf_module.h> /* entry for root debugfs directory*/ static struct dentry *qdf_debugfs_root; @@ -36,7 +37,7 @@ QDF_STATUS qdf_debugfs_init(void) return QDF_STATUS_SUCCESS; } -EXPORT_SYMBOL(qdf_debugfs_init); +qdf_export_symbol(qdf_debugfs_init); QDF_STATUS qdf_debugfs_exit(void) { @@ -45,7 +46,7 @@ QDF_STATUS qdf_debugfs_exit(void) return QDF_STATUS_SUCCESS; } -EXPORT_SYMBOL(qdf_debugfs_exit); +qdf_export_symbol(qdf_debugfs_exit); struct dentry *qdf_debugfs_get_root(void) { |
