aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-09-15 14:52:25 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:04 -0400
commit978cff6bf3ccb2b4ca37108d64d295f5993e713e (patch)
treec6e9b2b96c9d5fac3473f8658db93e38b1415427
parentda48a8dd32ad09f3ba04b4949ce9d58467859d96 (diff)
V4L/DVB: au8522_decoder: remove obsolete v4l2-i2c-drv.h header
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/au8522_decoder.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/au8522_decoder.c b/drivers/media/dvb/frontends/au8522_decoder.c
index 29cdbfe36852..6d9c5943eb3d 100644
--- a/drivers/media/dvb/frontends/au8522_decoder.c
+++ b/drivers/media/dvb/frontends/au8522_decoder.c
@@ -36,7 +36,6 @@
36#include <linux/delay.h> 36#include <linux/delay.h>
37#include <media/v4l2-common.h> 37#include <media/v4l2-common.h>
38#include <media/v4l2-chip-ident.h> 38#include <media/v4l2-chip-ident.h>
39#include <media/v4l2-i2c-drv.h>
40#include <media/v4l2-device.h> 39#include <media/v4l2-device.h>
41#include "au8522.h" 40#include "au8522.h"
42#include "au8522_priv.h" 41#include "au8522_priv.h"
@@ -831,9 +830,25 @@ static const struct i2c_device_id au8522_id[] = {
831 830
832MODULE_DEVICE_TABLE(i2c, au8522_id); 831MODULE_DEVICE_TABLE(i2c, au8522_id);
833 832
834static struct v4l2_i2c_driver_data v4l2_i2c_data = { 833static struct i2c_driver au8522_driver = {
835 .name = "au8522", 834 .driver = {
836 .probe = au8522_probe, 835 .owner = THIS_MODULE,
837 .remove = au8522_remove, 836 .name = "au8522",
838 .id_table = au8522_id, 837 },
838 .probe = au8522_probe,
839 .remove = au8522_remove,
840 .id_table = au8522_id,
839}; 841};
842
843static __init int init_au8522(void)
844{
845 return i2c_add_driver(&au8522_driver);
846}
847
848static __exit void exit_au8522(void)
849{
850 i2c_del_driver(&au8522_driver);
851}
852
853module_init(init_au8522);
854module_exit(exit_au8522);