diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-12-22 14:38:43 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-12-27 11:20:15 +0100 |
commit | f25b9f285a0eff7ae5d987acfb1d2407769b67af (patch) | |
tree | 99e62284a305dbb48145a1b020d835a4bc53677c /drivers/net/wireless/ath/ath10k/pci.c | |
parent | ath10k: remove deprecated fw_crash_dump debugfs file (diff) | |
download | linux-f25b9f285a0eff7ae5d987acfb1d2407769b67af.tar.xz linux-f25b9f285a0eff7ae5d987acfb1d2407769b67af.zip |
ath10k: refactor firmware crashdump code to coredump.c
In preparation to add RAM dump support. No functional changes, only moving code
and renaming function names.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index b056107aec91..61406bba2b5e 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -23,6 +23,7 @@ #include "core.h" #include "debug.h" +#include "coredump.h" #include "targaddrs.h" #include "bmi.h" @@ -1470,7 +1471,7 @@ static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) ar->stats.fw_crash_counter++; - crash_data = ath10k_debug_get_new_fw_crash_data(ar); + crash_data = ath10k_coredump_new(ar); if (crash_data) scnprintf(guid, sizeof(guid), "%pUl", &crash_data->guid); |