Commit | Line | Data |
---|---|---|
c942fddf | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
b95b0c98 | 2 | /* |
00be2e7c AQ |
3 | * Driver for Infineon tua6100 PLL. |
4 | * | |
5 | * (c) 2006 Andrew de Quincey | |
6 | * | |
7 | * Based on code found in budget-av.c, which has the following: | |
8 | * Compiled from various sources by Michael Hunold <michael@mihu.de> | |
9 | * | |
10 | * CI interface support (c) 2004 Olivier Gournet <ogournet@anevia.com> & | |
11 | * Andrew de Quincey <adq_dvb@lidskialf.net> | |
12 | * | |
13 | * Copyright (C) 2002 Ralph Metzler <rjkm@metzlerbros.de> | |
14 | * | |
15 | * Copyright (C) 1999-2002 Ralph Metzler | |
16 | * & Marcus Metzler for convergence integrated media GmbH | |
00be2e7c AQ |
17 | */ |
18 | ||
19 | #ifndef __DVB_TUA6100_H__ | |
20 | #define __DVB_TUA6100_H__ | |
21 | ||
22 | #include <linux/i2c.h> | |
fada1935 | 23 | #include <media/dvb_frontend.h> |
00be2e7c | 24 | |
9b174527 | 25 | #if IS_REACHABLE(CONFIG_DVB_TUA6100) |
00be2e7c | 26 | extern struct dvb_frontend *tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c); |
92cd24fe AQ |
27 | #else |
28 | static inline struct dvb_frontend* tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c) | |
29 | { | |
271ddbf7 | 30 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
92cd24fe AQ |
31 | return NULL; |
32 | } | |
33 | #endif // CONFIG_DVB_TUA6100 | |
00be2e7c AQ |
34 | |
35 | #endif |