linux/drivers/net/wireless/zydas/zd1211rw/zd_def.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* ZD1211 USB-WLAN driver for Linux
 *
 * Copyright (C) 2005-2007 Ulrich Kunitz <[email protected]>
 * Copyright (C) 2006-2007 Daniel Drake <[email protected]>
 */

#ifndef _ZD_DEF_H
#define _ZD_DEF_H

#include <linux/kernel.h>
#include <linux/stringify.h>
#include <linux/device.h>

zd_addr_t;

#define dev_printk_f(level, dev, fmt, args...)

#ifdef DEBUG
#define dev_dbg_f(dev, fmt, args...)
#define dev_dbg_f_limit(dev, fmt, args...)
#define dev_dbg_f_cond(dev, cond, fmt, args...)
#else
#define dev_dbg_f
#define dev_dbg_f_limit
#define dev_dbg_f_cond
#endif /* DEBUG */

#ifdef DEBUG
#define ZD_ASSERT(x)
#else
#define ZD_ASSERT
#endif

#ifdef DEBUG
#define ZD_MEMCLEAR(pointer, size)
#else
#define ZD_MEMCLEAR
#endif

#endif /* _ZD_DEF_H */