diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 04:27:27 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:59:18 -0300 |
commit | e8d0416796d43a950ec7b65629e53419b2e22453 (patch) | |
tree | 1d2e4d49dc177f0f711ab4f9ad11cb67007964cb /drivers/staging/tm6000/tm6000.h | |
parent | V4L/DVB: vivi and mem2mem_testdev need slab.h to build (diff) | |
download | linux-dev-e8d0416796d43a950ec7b65629e53419b2e22453.tar.xz linux-dev-e8d0416796d43a950ec7b65629e53419b2e22453.zip |
V4L/DVB (13554a): v4l: Use the video_drvdata function in drivers
Fix all device drivers to use the video_drvdata function instead of
maintaining a local list of minor to private data mappings. Call
video_set_drvdata to register the driver private pointer when not
already done.
Where applicable, the local list of mappings is completely removed when
it becomes unused.
[mchehab.redhat.com: patch broke into two. This one changes just tm6000]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/staging/tm6000/tm6000.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000.h b/drivers/staging/tm6000/tm6000.h index b49c139c6b55..6812d6867d57 100644 --- a/drivers/staging/tm6000/tm6000.h +++ b/drivers/staging/tm6000/tm6000.h @@ -169,7 +169,6 @@ struct tm6000_core { struct i2c_client i2c_client; /* video for linux */ - struct list_head tm6000_corelist; int users; /* various device info */ |