aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0012-priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/fc0012-priv.h')
-rw-r--r--drivers/media/tuners/fc0012-priv.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/tuners/fc0012-priv.h b/drivers/media/tuners/fc0012-priv.h
index 4577c917e616..1a86ce1d3fcf 100644
--- a/drivers/media/tuners/fc0012-priv.h
+++ b/drivers/media/tuners/fc0012-priv.h
@@ -21,20 +21,9 @@
21#ifndef _FC0012_PRIV_H_ 21#ifndef _FC0012_PRIV_H_
22#define _FC0012_PRIV_H_ 22#define _FC0012_PRIV_H_
23 23
24#define LOG_PREFIX "fc0012"
25
26#undef err
27#define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg)
28#undef info
29#define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg)
30#undef warn
31#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
32
33struct fc0012_priv { 24struct fc0012_priv {
34 struct i2c_adapter *i2c; 25 struct i2c_adapter *i2c;
35 u8 addr; 26 const struct fc0012_config *cfg;
36 u8 dual_master;
37 u8 xtal_freq;
38 27
39 u32 frequency; 28 u32 frequency;
40 u32 bandwidth; 29 u32 bandwidth;