ath10k: detach coredump.c from debug.c
Now coredump is totally separate from debug.c and doesn't depend on CONFIG_ATH10K_DEBUGFS anymore, only on CONFIG_DEV_COREDUMP. Also remove leftovers from the removed debugfs file support. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -462,8 +462,6 @@ struct ath10k_ce_crash_hdr {
|
||||
|
||||
/* used for crash-dump storage, protected by data-lock */
|
||||
struct ath10k_fw_crash_data {
|
||||
bool crashed_since_read;
|
||||
|
||||
guid_t guid;
|
||||
struct timespec64 timestamp;
|
||||
__le32 registers[REG_DUMP_COUNT_QCA988X];
|
||||
@@ -493,8 +491,6 @@ struct ath10k_debug {
|
||||
u32 reg_addr;
|
||||
u32 nf_cal_period;
|
||||
void *cal_data;
|
||||
|
||||
struct ath10k_fw_crash_data *fw_crash_data;
|
||||
};
|
||||
|
||||
enum ath10k_state {
|
||||
@@ -971,6 +967,13 @@ struct ath10k {
|
||||
#endif
|
||||
|
||||
u32 pktlog_filter;
|
||||
|
||||
#ifdef CONFIG_DEV_COREDUMP
|
||||
struct {
|
||||
struct ath10k_fw_crash_data *fw_crash_data;
|
||||
} coredump;
|
||||
#endif
|
||||
|
||||
struct {
|
||||
/* protected by conf_mutex */
|
||||
struct ath10k_fw_components utf_mode_fw;
|
||||
|
||||
Reference in New Issue
Block a user