linux/drivers/net/wireless/ath/ath11k/debug.c

// SPDX-License-Identifier: BSD-3-Clause-Clear
/*
 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
 */

#include <linux/vmalloc.h>
#include "core.h"
#include "debug.h"

void ath11k_info(struct ath11k_base *ab, const char *fmt, ...)
{}
EXPORT_SYMBOL();

void ath11k_err(struct ath11k_base *ab, const char *fmt, ...)
{}
EXPORT_SYMBOL();

void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...)
{}
EXPORT_SYMBOL();

#ifdef CONFIG_ATH11K_DEBUG

void __ath11k_dbg(struct ath11k_base *ab, enum ath11k_debug_mask mask,
		  const char *fmt, ...)
{}
EXPORT_SYMBOL();

void ath11k_dbg_dump(struct ath11k_base *ab,
		     enum ath11k_debug_mask mask,
		     const char *msg, const char *prefix,
		     const void *buf, size_t len)
{}
EXPORT_SYMBOL();

#endif /* CONFIG_ATH11K_DEBUG */