mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
b064945517
Some identifiers have different names between their prototypes and the kernel-doc markup. Seome seems to be due to cut-and-paste related issues. Others need to be fixed, as kernel-doc markups should use this format: identifier - description Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> # IPU3 and V4L2 Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
42 lines
1.0 KiB
C
42 lines
1.0 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
Driver for Philips tda8262/tda8263 DVBS Silicon tuners
|
|
|
|
(c) 2006 Andrew de Quincey
|
|
|
|
|
|
*/
|
|
|
|
#ifndef __DVB_TDA826X_H__
|
|
#define __DVB_TDA826X_H__
|
|
|
|
#include <linux/i2c.h>
|
|
#include <media/dvb_frontend.h>
|
|
|
|
/**
|
|
* tda826x_attach - Attach a tda826x tuner to the supplied frontend structure.
|
|
*
|
|
* @fe: Frontend to attach to.
|
|
* @addr: i2c address of the tuner.
|
|
* @i2c: i2c adapter to use.
|
|
* @has_loopthrough: Set to 1 if the card has a loopthrough RF connector.
|
|
*
|
|
* return: FE pointer on success, NULL on failure.
|
|
*/
|
|
#if IS_REACHABLE(CONFIG_DVB_TDA826X)
|
|
extern struct dvb_frontend* tda826x_attach(struct dvb_frontend *fe, int addr,
|
|
struct i2c_adapter *i2c,
|
|
int has_loopthrough);
|
|
#else
|
|
static inline struct dvb_frontend* tda826x_attach(struct dvb_frontend *fe,
|
|
int addr,
|
|
struct i2c_adapter *i2c,
|
|
int has_loopthrough)
|
|
{
|
|
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
|
return NULL;
|
|
}
|
|
#endif // CONFIG_DVB_TDA826X
|
|
|
|
#endif // __DVB_TDA826X_H__
|