1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Fitipower FC0013 tuner driver
5 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
11 #include <media/dvb_frontend.h>
12 #include "fc001x-common.h"
14 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_FC0013)
15 extern struct dvb_frontend
*fc0013_attach(struct dvb_frontend
*fe
,
16 struct i2c_adapter
*i2c
,
17 u8 i2c_address
, int dual_master
,
18 enum fc001x_xtal_freq xtal_freq
);
19 extern int fc0013_rc_cal_add(struct dvb_frontend
*fe
, int rc_val
);
20 extern int fc0013_rc_cal_reset(struct dvb_frontend
*fe
);
22 static inline struct dvb_frontend
*fc0013_attach(struct dvb_frontend
*fe
,
23 struct i2c_adapter
*i2c
,
24 u8 i2c_address
, int dual_master
,
25 enum fc001x_xtal_freq xtal_freq
)
27 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
31 static inline int fc0013_rc_cal_add(struct dvb_frontend
*fe
, int rc_val
)
36 static inline int fc0013_rc_cal_reset(struct dvb_frontend
*fe
)