linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c

/*
 * Copyright (c) 2012 Broadcom Corporation
 * Copyright (c) 2012 Canonical Ltd.
 *
 * 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.
 */
#include <linux/debugfs.h>
#include <linux/if_ether.h>
#include <linux/if.h>
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/ieee80211.h>
#include <linux/module.h>
#include <net/mac80211.h>

#include <defs.h>
#include <brcmu_wifi.h>
#include <brcmu_utils.h>
#include "types.h"
#include "main.h"
#include "debug.h"
#include "brcms_trace_events.h"
#include "phy/phy_int.h"

static struct dentry *root_folder;

void brcms_debugfs_init(void)
{}

void brcms_debugfs_exit(void)
{}

void brcms_debugfs_attach(struct brcms_pub *drvr)
{}

void brcms_debugfs_detach(struct brcms_pub *drvr)
{}

struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr)
{}

static
int brcms_debugfs_hardware_read(struct seq_file *s, void *data)
{}

static int brcms_debugfs_macstat_read(struct seq_file *s, void *data)
{}

struct brcms_debugfs_entry {};

static int brcms_debugfs_entry_open(struct inode *inode, struct file *f)
{}

static const struct file_operations brcms_debugfs_def_ops =;

static void
brcms_debugfs_add_entry(struct brcms_pub *drvr, const char *fn,
			int (*read_fn)(struct seq_file *seq, void *data))
{}

void brcms_debugfs_create_files(struct brcms_pub *drvr)
{}

#define __brcms_fn(fn)

__brcms_fn()
__brcms_fn()
__brcms_fn()
__brcms_fn()

#if defined(CONFIG_BRCMDBG) || defined(CONFIG_BRCM_TRACING)
void __brcms_dbg(struct device *dev, u32 level, const char *func,
		 const char *fmt, ...)
{}
#endif