aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-maestro.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/radio-maestro.c')
-rw-r--r--drivers/media/radio/radio-maestro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-maestro.c b/drivers/media/radio/radio-maestro.c
index f662912ef8a1..a77da35eebce 100644
--- a/drivers/media/radio/radio-maestro.c
+++ b/drivers/media/radio/radio-maestro.c
@@ -180,7 +180,7 @@ static inline int radio_function(struct inode *inode, struct file *file,
180 unsigned int cmd, void *arg) 180 unsigned int cmd, void *arg)
181{ 181{
182 struct video_device *dev = video_devdata(file); 182 struct video_device *dev = video_devdata(file);
183 struct radio_device *card = dev->priv; 183 struct radio_device *card = video_get_drvdata(dev);
184 184
185 switch (cmd) { 185 switch (cmd) {
186 case VIDIOCGCAP: { 186 case VIDIOCGCAP: {
@@ -256,7 +256,7 @@ static int radio_ioctl(struct inode *inode, struct file *file,
256 unsigned int cmd, unsigned long arg) 256 unsigned int cmd, unsigned long arg)
257{ 257{
258 struct video_device *dev = video_devdata(file); 258 struct video_device *dev = video_devdata(file);
259 struct radio_device *card = dev->priv; 259 struct radio_device *card = video_get_drvdata(dev);
260 int ret; 260 int ret;
261 261
262 down(&card->lock); 262 down(&card->lock);