Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
stk1160-i2c.c File Reference
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include "stk1160.h"
#include "stk1160-reg.h"

Go to the source code of this file.

Macros

#define dprintk_i2c(fmt, args...)
 

Functions

 module_param (i2c_debug, int, 0644)
 
 MODULE_PARM_DESC (i2c_debug,"enable debug messages [i2c]")
 
int stk1160_i2c_register (struct stk1160 *dev)
 
int stk1160_i2c_unregister (struct stk1160 *dev)
 

Macro Definition Documentation

#define dprintk_i2c (   fmt,
  args... 
)
Value:
do { \
if (i2c_debug) \
printk(KERN_DEBUG fmt, ##args); \
} while (0)

Definition at line 34 of file stk1160-i2c.c.

Function Documentation

module_param ( i2c_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( i2c_debug  ,
"enable debug messages "  [i2c] 
)
int stk1160_i2c_register ( struct stk1160 dev)

Definition at line 257 of file stk1160-i2c.c.

int stk1160_i2c_unregister ( struct stk1160 dev)

Definition at line 290 of file stk1160-i2c.c.