Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tua6100.h
Go to the documentation of this file.
1 
31 #ifndef __DVB_TUA6100_H__
32 #define __DVB_TUA6100_H__
33 
34 #include <linux/i2c.h>
35 #include "dvb_frontend.h"
36 
37 #if defined(CONFIG_DVB_TUA6100) || (defined(CONFIG_DVB_TUA6100_MODULE) && defined(MODULE))
38 extern struct dvb_frontend *tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c);
39 #else
40 static inline struct dvb_frontend* tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c)
41 {
42  printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
43  return NULL;
44 }
45 #endif // CONFIG_DVB_TUA6100
46 
47 #endif