Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76359
b: refs/heads/master
c: 241020d
h: refs/heads/master
i:
  76357: 77cbd57
  76355: 52de723
  76351: 9906a5c
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent bdc4716 commit adfb2ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4942744f93884cb462400c66258c0013bea65dcf
refs/heads/master: 241020d19ee9da29171d989ff876c657e4b938b5
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

#define UNSET (-1U)

#define PREFIX "tuner "

/* standard i2c insmod options */
static unsigned short normal_i2c[] = {
#if defined(CONFIG_TUNER_TEA5761) || (defined(CONFIG_TUNER_TEA5761_MODULE) && defined(MODULE))
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/tuner-driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ struct tuner {
/* ------------------------------------------------------------------------ */

#define tuner_warn(fmt, arg...) do {\
printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c->driver->driver.name, \
printk(KERN_WARNING PREFIX "%d-%04x: " fmt, \
i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0)
#define tuner_info(fmt, arg...) do {\
printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c->driver->driver.name, \
printk(KERN_INFO PREFIX "%d-%04x: " fmt, \
i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0)
#define tuner_dbg(fmt, arg...) do {\
extern int tuner_debug; \
if (tuner_debug) \
printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c->driver->driver.name, \
printk(KERN_DEBUG PREFIX "%d-%04x: " fmt, \
i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0)

#endif /* __TUNER_DRIVER_H__ */
Expand Down

0 comments on commit adfb2ef

Please sign in to comment.