Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37314
b: refs/heads/master
c: 38ee04f
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Sep 26, 2006
1 parent cd148cb commit ab27615
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4366af40d7d2021499b84b8311336c944a9a71c
refs/heads/master: 38ee04f04340ffd6af868499862341d11ed2b331
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/radio-aimslab.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ static struct video_device rtrack_radio=
.owner = THIS_MODULE,
.name = "RadioTrack radio",
.type = VID_TYPE_TUNER,
.hardware = VID_HARDWARE_RTRACK,
.hardware = 0,
.fops = &rtrack_fops,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/radio-aztech.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static struct video_device aztech_radio=
.owner = THIS_MODULE,
.name = "Aztech radio",
.type = VID_TYPE_TUNER,
.hardware = VID_HARDWARE_AZTECH,
.hardware = 0,
.fops = &aztech_fops,
};

Expand Down
10 changes: 7 additions & 3 deletions trunk/include/media/v4l2-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
#ifndef _V4L2_DEV_H
#define _V4L2_DEV_H

#define OBSOLETE_OWNER 1 /* to be removed soon */
#define OBSOLETE_OWNER 1 /* to be removed soon */
#define OBSOLETE_DEVDATA 1 /* to be removed soon */

#include <linux/poll.h>
#include <linux/fs.h>
Expand Down Expand Up @@ -338,8 +339,6 @@ extern int video_usercopy(struct inode *inode, struct file *file,
#ifdef CONFIG_VIDEO_V4L1_COMPAT
#include <linux/mm.h>

extern struct video_device* video_devdata(struct file*);

#define to_video_device(cd) container_of(cd, struct video_device, class_dev)
static inline int
video_device_create_file(struct video_device *vfd,
Expand Down Expand Up @@ -370,9 +369,14 @@ static inline void video_set_drvdata(struct video_device *dev, void *data)
{
dev->priv = data;
}

#endif

#ifdef OBSOLETE_DEVDATA /* to be removed soon */
/* Obsolete stuff - Still needed for radio devices and obsolete drivers */
extern struct video_device* video_devdata(struct file*);
extern int video_exclusive_open(struct inode *inode, struct file *file);
extern int video_exclusive_release(struct inode *inode, struct file *file);
#endif

#endif /* _V4L2_DEV_H */

0 comments on commit ab27615

Please sign in to comment.