Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iwl-debug.c File Reference
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/export.h>
#include "iwl-debug.h"
#include "iwl-devtrace.h"

Go to the source code of this file.

Macros

#define DEBUG
 
#define __iwl_fn(fn)
 

Functions

 __iwl_fn (warn)
 
 EXPORT_SYMBOL_GPL (__iwl_err)
 

Macro Definition Documentation

#define __iwl_fn (   fn)
Value:
void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \
{ \
struct va_format vaf = { \
.fmt = fmt, \
}; \
va_start(args, fmt); \
vaf.va = &args; \
dev_ ##fn(dev, "%pV", &vaf); \
trace_iwlwifi_ ##fn(&vaf); \
va_end(args); \
}

Definition at line 72 of file iwl-debug.c.

#define DEBUG

Definition at line 64 of file iwl-debug.c.

Function Documentation

__iwl_fn ( warn  )

Definition at line 87 of file iwl-debug.c.

EXPORT_SYMBOL_GPL ( __iwl_err  )