vserver 1.9.5.x5
[linux-2.6.git] / drivers / media / video / bt819.c
index 16be0ef..d1ecce3 100644 (file)
@@ -61,7 +61,7 @@ MODULE_LICENSE("GPL");
 #include <linux/video_decoder.h>
 
 static int debug = 0;
-MODULE_PARM(debug, "i");
+module_param(debug, int, 0);
 MODULE_PARM_DESC(debug, "Debug level (0-1)");
 
 #define dprintk(num, format, args...) \
@@ -95,7 +95,7 @@ struct timing {
 };
 
 /* for values, see the bt819 datasheet */
-struct timing timing_data[] = {
+static struct timing timing_data[] = {
        {864 - 24, 20, 625 - 2, 1, 0x0504, 0x0000},
        {858 - 24, 20, 525 - 2, 1, 0x00f8, 0x0000},
 };
@@ -146,7 +146,7 @@ bt819_write_block (struct i2c_client *client,
                u8 block_data[32];
 
                msg.addr = client->addr;
-               msg.flags = client->flags;
+               msg.flags = 0;
                while (len >= 2) {
                        msg.buf = (char *) block_data;
                        msg.len = 0;