x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / drivers / media / tuners / mt2063.h
blobe55e0a6dd1be403d3859a54e45210b4d4f2e06c7
1 #ifndef __MT2063_H__
2 #define __MT2063_H__
4 #include "dvb_frontend.h"
6 struct mt2063_config {
7 u8 tuner_address;
8 u32 refclock;
9 };
11 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT2063)
12 struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
13 struct mt2063_config *config,
14 struct i2c_adapter *i2c);
16 #else
18 static inline struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
19 struct mt2063_config *config,
20 struct i2c_adapter *i2c)
22 printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__);
23 return NULL;
26 #endif /* CONFIG_DVB_MT2063 */
28 #endif /* __MT2063_H__ */