summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tuner-driver.h')
-rw-r--r--linux/drivers/media/video/tuner-driver.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/tuner-driver.h b/linux/drivers/media/video/tuner-driver.h
index d5acacebd..502c88dab 100644
--- a/linux/drivers/media/video/tuner-driver.h
+++ b/linux/drivers/media/video/tuner-driver.h
@@ -72,27 +72,27 @@ struct tuner {
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
#define tuner_warn(fmt, arg...) do {\
- printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c->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->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->name, \
+ printk(KERN_DEBUG PREFIX "%d-%04x: " fmt, \
i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0)
#else
#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