]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (10919): tlv320aic23b: use v4l2-i2c-drv.h instead of drv-legacy.h
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 7 Mar 2009 16:10:43 +0000 (13:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:15 +0000 (12:43 -0300)
This driver isn't used in any legacy mode, so no need for v4l2-i2c-drv-legacy.h.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tlv320aic23b.c

index b6e838ada66dd954a26bde75ee32f8a17a530fb5..b8cc7d39a90ad800ab66d0426fc4a022314b3664 100644 (file)
 #include <linux/i2c-id.h>
 #include <linux/videodev2.h>
 #include <media/v4l2-device.h>
-#include <media/v4l2-i2c-drv-legacy.h>
+#include <media/v4l2-i2c-drv.h>
 
 MODULE_DESCRIPTION("tlv320aic23b driver");
 MODULE_AUTHOR("Scott Alfter, Ulf Eklund, Hans Verkuil");
 MODULE_LICENSE("GPL");
 
-static unsigned short normal_i2c[] = { 0x34 >> 1, I2C_CLIENT_END };
-
-I2C_CLIENT_INSMOD;
 
 /* ----------------------------------------------------------------------- */