Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / tuners / fc0013-priv.h
blobaa5579cdf99c5b3b7fb9151e5111f73390f83e64
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Fitipower FC0013 tuner driver
5 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
6 */
8 #ifndef _FC0013_PRIV_H_
9 #define _FC0013_PRIV_H_
11 #define LOG_PREFIX "fc0013"
13 #undef err
14 #define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg)
15 #undef info
16 #define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg)
17 #undef warn
18 #define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
20 struct fc0013_priv {
21 struct i2c_adapter *i2c;
22 u8 addr;
23 u8 dual_master;
24 u8 xtal_freq;
26 u32 frequency;
27 u32 bandwidth;
30 #endif