Merge tag 'dlm-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm
[deliverable/linux.git] / drivers / media / tuners / mt2063.h
CommitLineData
0e301442
MCC
1#ifndef __MT2063_H__
2#define __MT2063_H__
3
0e301442
MCC
4#include "dvb_frontend.h"
5
0e301442
MCC
6struct mt2063_config {
7 u8 tuner_address;
8 u32 refclock;
223c7b05
MCC
9};
10
9b174527 11#if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT2063)
b675668a
MCC
12struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
13 struct mt2063_config *config,
14 struct i2c_adapter *i2c);
223c7b05
MCC
15
16#else
17
0e301442 18static inline struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
b675668a
MCC
19 struct mt2063_config *config,
20 struct i2c_adapter *i2c)
223c7b05
MCC
21{
22 printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__);
23 return NULL;
24}
25
4dca4efc 26#endif /* CONFIG_DVB_MT2063 */
0e301442 27
4dca4efc 28#endif /* __MT2063_H__ */
This page took 0.278227 seconds and 5 git commands to generate.