summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/et61x251/et61x251.h
diff options
context:
space:
mode:
authorLuca Risolia <luca.risolia@studio.unibo.it>2007-01-08 11:38:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:34:20 -0200
commit2656312724d97ebc2e267e0a9740d51ad7aa9a04 (patch)
tree57b1cafd03e6c4c461d713748bdf5376873a6027 /drivers/media/video/et61x251/et61x251.h
parent7e3a0660700ad47ee6e296fe7090d771becfcf96 (diff)
V4L/DVB (5064): ET61X251 driver updates.
- Implement audio ioctl's and VIDIOC_ENUM_FRAMESIZES - Documentation updates - Generic improvements Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/et61x251/et61x251.h')
-rw-r--r--drivers/media/video/et61x251/et61x251.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/et61x251/et61x251.h b/drivers/media/video/et61x251/et61x251.h
index 2e5ca403248..262f98e1240 100644
--- a/drivers/media/video/et61x251/et61x251.h
+++ b/drivers/media/video/et61x251/et61x251.h
@@ -171,10 +171,7 @@ struct et61x251_device {
struct et61x251_device*
et61x251_match_id(struct et61x251_device* cam, const struct usb_device_id *id)
{
- if (usb_match_id(usb_ifnum_to_if(cam->usbdev, 0), id))
- return cam;
-
- return NULL;
+ return usb_match_id(usb_ifnum_to_if(cam->usbdev, 0), id) ? cam : NULL;
}