aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-01-10 19:54:39 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:25 -0400
commit3d05913d894a460b7dc8e5d93415fde21b986411 (patch)
tree04a2216afdbbf27230dd364107d5d1dcb7f13057 /drivers/media/video/cx18/cx18-driver.h
parente0f28b6a69b73ebf610f4f9759999bcdabdcda8e (diff)
V4L/DVB (10280): cx18: Rename structure members: dev to pci_dev and v4l2dev to video_dev
Renamed structure member name to be more specific to type in anticipation of updating to the v4l2_device/v4l2_subdev framework. Too many objects named "dev" and /v4l2_\{0,1\}dev/ would be to confusing. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index 36809dd3d848..316ff333d4a5 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -279,7 +279,7 @@ struct cx18_epu_work_order {
279struct cx18_stream { 279struct cx18_stream {
280 /* These first four fields are always set, even if the stream 280 /* These first four fields are always set, even if the stream
281 is not actually created. */ 281 is not actually created. */
282 struct video_device *v4l2dev; /* NULL when stream not created */ 282 struct video_device *video_dev; /* NULL when stream not created */
283 struct cx18 *cx; /* for ease of use */ 283 struct cx18 *cx; /* for ease of use */
284 const char *name; /* name of the stream */ 284 const char *name; /* name of the stream */
285 int type; /* stream type */ 285 int type; /* stream type */
@@ -385,7 +385,7 @@ struct cx18_i2c_algo_callback_data {
385struct cx18 { 385struct cx18 {
386 int num; /* board number, -1 during init! */ 386 int num; /* board number, -1 during init! */
387 char name[8]; /* board name for printk and interrupts (e.g. 'cx180') */ 387 char name[8]; /* board name for printk and interrupts (e.g. 'cx180') */
388 struct pci_dev *dev; /* PCI device */ 388 struct pci_dev *pci_dev;
389 const struct cx18_card *card; /* card information */ 389 const struct cx18_card *card; /* card information */
390 const char *card_name; /* full name of the card */ 390 const char *card_name; /* full name of the card */
391 const struct cx18_card_tuner_i2c *card_i2c; /* i2c addresses to probe for tuner */ 391 const struct cx18_card_tuner_i2c *card_i2c; /* i2c addresses to probe for tuner */