File Index
Files and directories
Sign in
FILE

fc0013.h

File preview with syntax highlighting.

linux-6.19.14/drivers/media/tuners/fc0013.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Fitipower FC0013 tuner driver
 4 *
 5 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
 6 */
 7
 8#ifndef _FC0013_H_
 9#define _FC0013_H_
10
11#include <media/dvb_frontend.h>
12#include "fc001x-common.h"
13
14#if IS_REACHABLE(CONFIG_MEDIA_TUNER_FC0013)
15extern 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#else
20static inline struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe,
21					struct i2c_adapter *i2c,
22					u8 i2c_address, int dual_master,
23					enum fc001x_xtal_freq xtal_freq)
24{
25	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
26	return NULL;
27}
28
29#endif
30
31#endif
~/ Read-only file preview.