Re: [2/6] ath10k: refactor firmware crashdump code to coredump.c
From: Kalle Valo <hidden>
Date: 2017-08-17 06:49:45
Kalle Valo [off-list ref] writes:
Kalle Valo [off-list ref] wrote:quoted
In preparation to add RAM dump support. No functional changes, only movi=
ng code
quoted
and renaming function names. =20 Signed-off-by: Kalle Valo <redacted>With only this patch applied, and CONFIG_DEV_COREDUMP disabled, there's a=
build error:
drivers/net/wireless/ath/ath10k/coredump.c:24:30: error: redefinition of 'ath10k_coredump_new' drivers/net/wireless/ath/ath10k/coredump.c:130:5: error: redefinition of 'ath10k_coredump_submit'
Fixed in pending branch like this:
--- a/drivers/net/wireless/ath/ath10k/Makefile
+++ b/drivers/net/wireless/ath/ath10k/Makefile@@ -20,7 +20,7 @@ ath10k_core-$(CONFIG_ATH10K_TRACING) +=3D trace.o ath10k_core-$(CONFIG_THERMAL) +=3D thermal.o ath10k_core-$(CONFIG_MAC80211_DEBUGFS) +=3D debugfs_sta.o ath10k_core-$(CONFIG_PM) +=3D wow.o -ath10k_core-$(CONFIG_ATH10K_DEBUGFS) +=3D coredump.o +ath10k_core-$(CONFIG_DEV_COREDUMP) +=3D coredump.o --=20
Kalle Valo=