summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorHans Verkuil <devnull@localhost>2006-01-11 21:01:01 +0000
committerHans Verkuil <devnull@localhost>2006-01-11 21:01:01 +0000
commit9985093e2b4f19b1d13d5004346f22540c92cc5d (patch)
tree12183d0a027579a81106fbfd7f1a7f92bd7451fd /linux/include/media
parent069637ed9609cb009c57d2bf1039e69812b2304b (diff)
downloadmediapointer-dvb-s2-9985093e2b4f19b1d13d5004346f22540c92cc5d.tar.gz
mediapointer-dvb-s2-9985093e2b4f19b1d13d5004346f22540c92cc5d.tar.bz2
Fixes some bad global variables
- debug global var is already used inside kernel, so renamed debug to tuner_debug for the tuner module Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/tuner.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/include/media/tuner.h b/linux/include/media/tuner.h
index f62c95152..12cf1f808 100644
--- a/linux/include/media/tuner.h
+++ b/linux/include/media/tuner.h
@@ -1,5 +1,5 @@
/*
- $Id: tuner.h,v 1.72 2006/01/08 12:05:34 mchehab Exp $
+ $Id: tuner.h,v 1.73 2006/01/11 21:01:01 hverkuil Exp $
tuner.h - definition for different tuners
Copyright (C) 1997 Markus Schroeder (schroedm@uni-duesseldorf.de)
@@ -220,8 +220,8 @@ extern int tea5767_autodetection(struct i2c_client *c);
printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->name, \
i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0)
#define tuner_dbg(fmt, arg...) do {\
- extern int debug; \
- if (debug) \
+ extern int tuner_debug; \
+ if (tuner_debug) \
printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \
i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0)
#else
@@ -232,8 +232,8 @@ extern int tea5767_autodetection(struct i2c_client *c);
printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \
i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0)
#define tuner_dbg(fmt, arg...) do {\
- extern int debug; \
- if (debug) \
+ extern int tuner_debug; \
+ if (tuner_debug) \
printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \
i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0)
#endif