diff options
Diffstat (limited to 'linux/drivers/media/video/bt832.c')
-rw-r--r-- | linux/drivers/media/video/bt832.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/drivers/media/video/bt832.c b/linux/drivers/media/video/bt832.c index 589afb41b..995278a31 100644 --- a/linux/drivers/media/video/bt832.c +++ b/linux/drivers/media/video/bt832.c @@ -26,6 +26,7 @@ #include <linux/kernel.h> #include <linux/i2c.h> #include <linux/types.h> +#include "compat.h" #include <linux/videodev.h> #include <linux/init.h> #include <linux/errno.h> @@ -198,7 +199,7 @@ static int bt832_attach(struct i2c_adapter *adap, int addr, i2c_set_clientdata(&t->client, t); i2c_attach_client(&t->client); - v4l_info(t->client,"chip found @ 0x%x\n", addr<<1); + v4l_info(&t->client,"chip found @ 0x%x\n", addr<<1); #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) @@ -228,7 +229,7 @@ static int bt832_detach(struct i2c_client *client) { struct bt832 *t = i2c_get_clientdata(client); - v4l_info(t->client,"dettach\n"); + v4l_info(&t->client,"dettach\n"); i2c_detach_client(client); kfree(t); #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) @@ -243,7 +244,7 @@ bt832_command(struct i2c_client *client, unsigned int cmd, void *arg) struct bt832 *t = i2c_get_clientdata(client); if (debug>1) - v4l_i2c_print_ioctl(t->client,cmd); + v4l_i2c_print_ioctl(&t->client,cmd); switch (cmd) { case BT832_HEXDUMP: { @@ -254,7 +255,7 @@ bt832_command(struct i2c_client *client, unsigned int cmd, void *arg) } break; case BT832_REATTACH: - v4l_info(t->client,"re-attach\n"); + v4l_info(&t->client,"re-attach\n"); i2c_del_driver(&driver); i2c_add_driver(&driver); break; |