Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
zl10036.h
Go to the documentation of this file.
1 
21 #ifndef DVB_ZL10036_H
22 #define DVB_ZL10036_H
23 
24 #include <linux/i2c.h>
25 #include "dvb_frontend.h"
26 
38 };
39 
40 #if defined(CONFIG_DVB_ZL10036) || \
41  (defined(CONFIG_DVB_ZL10036_MODULE) && defined(MODULE))
42 extern struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe,
43  const struct zl10036_config *config, struct i2c_adapter *i2c);
44 #else
45 static inline struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe,
46  const struct zl10036_config *config, struct i2c_adapter *i2c)
47 {
48  printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
49  return NULL;
50 }
51 #endif
52 
53 #endif /* DVB_ZL10036_H */