4 * Sony CXD2441ER digital demodulator driver public definitions
6 * Copyright 2012 Sony Corporation
7 * Copyright (C) 2014 NetUP Inc.
8 * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru>
9 * Copyright (C) 2014 Abylay Ospan <aospan@netup.ru>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
25 #include <linux/kconfig.h>
26 #include <linux/dvb/frontend.h>
29 SONY_XTAL_20500
, /* 20.5 MHz */
30 SONY_XTAL_24000
, /* 24 MHz */
31 SONY_XTAL_41000
/* 41 MHz */
34 struct cxd2841er_config
{
36 enum cxd2841er_xtal xtal
;
39 #if IS_REACHABLE(CONFIG_DVB_CXD2841ER)
40 extern struct dvb_frontend
*cxd2841er_attach_s(struct cxd2841er_config
*cfg
,
41 struct i2c_adapter
*i2c
);
43 extern struct dvb_frontend
*cxd2841er_attach_t_c(struct cxd2841er_config
*cfg
,
44 struct i2c_adapter
*i2c
);
46 static inline struct dvb_frontend
*cxd2841er_attach_s(
47 struct cxd2841er_config
*cfg
,
48 struct i2c_adapter
*i2c
)
50 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
54 static inline struct dvb_frontend
*cxd2841er_attach_t_c(
55 struct cxd2841er_config
*cfg
, struct i2c_adapter
*i2c
)
57 pr_warn("%s: driver disabled by Kconfig\n", __func__
);