/*
 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
 * above copyright notice and this permission notice appear in all
 * copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef WLAN_HDD_BOOTUP_MARKER_H
#define WLAN_HDD_BOOTUP_MARKER_H

/**
 * DOC: wlan_hdd_bootup_marker.h
 *
 * WLAN Host Device Driver Bootup Marker header file
 */

#include "wlan_hdd_main.h"

#ifdef WLAN_BOOTUP_MARKER
/**
 * hdd_place_marker() - record bootup marker for some events
 * @adapter: hdd adapter pointer
 * @format: The strings of the events
 * @mac: mac address of peer device
 *
 * Return: None
 */
void hdd_place_marker(struct hdd_adapter *adapter,
		      const char *format,
		      uint8_t *mac);
#else
static inline
void hdd_place_marker(struct hdd_adapter *adapter,
		      const char *format,
		      uint8_t *mac)
{
}
#endif
#endif /* WLAN_HDD_BOOTUP_MARKER_H */
