]> err.no Git - linux-2.6/blobdiff - drivers/media/video/tea5761.c
V4L/DVB (7709): pvrusb2: New device attribute for encoder usage in digital mode
[linux-2.6] / drivers / media / video / tea5761.c
index 35612665d933cae8778b072a6df8ab9200b62bca..bd5ad549c1df6d1380ffea6ab90fee376ad27243 100644 (file)
@@ -18,8 +18,6 @@ static int debug;
 module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, "enable verbose debug messages");
 
-#define PREFIX "tea5761"
-
 struct tea5761_priv {
        struct tuner_i2c_props i2c_props;
 
@@ -131,7 +129,7 @@ static void tea5761_status_dump(unsigned char *buffer)
 
        frq = 1000 * (div * 32768 / 1000 + FREQ_OFFSET + 225) / 4;      /* Freq in KHz */
 
-       printk(PREFIX "Frequency %d.%03d KHz (divider = 0x%04x)\n",
+       printk(KERN_INFO "tea5761: Frequency %d.%03d KHz (divider = 0x%04x)\n",
               frq / 1000, frq % 1000, div);
 }
 
@@ -302,6 +300,7 @@ struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe,
 
        priv->i2c_props.addr = i2c_addr;
        priv->i2c_props.adap = i2c_adap;
+       priv->i2c_props.name = "tea5761";
 
        memcpy(&fe->ops.tuner_ops, &tea5761_tuner_ops,
               sizeof(struct dvb_tuner_ops));