diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2005-09-09 16:02:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:41 -0400 |
commit | 47dc3d688d04f06d8ef90a06c48930906fbc4a8c (patch) | |
tree | 705fc3f433180d96e357bdcf4814408169367018 /drivers/media/dvb/dvb-usb/vp702x.c | |
parent | 62703b9d72114a563488cd4be6d0827618395589 (diff) |
[PATCH] dvb: usb: core: change dvb_usb_device_init() API
Change the init call to optionally return the new dvb_usb_device directly.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/vp702x.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/vp702x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/vp702x.c b/drivers/media/dvb/dvb-usb/vp702x.c index 1f5034ca1152..de13c04e8e64 100644 --- a/drivers/media/dvb/dvb-usb/vp702x.c +++ b/drivers/media/dvb/dvb-usb/vp702x.c | |||
@@ -197,7 +197,7 @@ static int vp702x_usb_probe(struct usb_interface *intf, | |||
197 | usb_clear_halt(udev,usb_sndctrlpipe(udev,0)); | 197 | usb_clear_halt(udev,usb_sndctrlpipe(udev,0)); |
198 | usb_clear_halt(udev,usb_rcvctrlpipe(udev,0)); | 198 | usb_clear_halt(udev,usb_rcvctrlpipe(udev,0)); |
199 | 199 | ||
200 | return dvb_usb_device_init(intf,&vp702x_properties,THIS_MODULE); | 200 | return dvb_usb_device_init(intf,&vp702x_properties,THIS_MODULE,NULL); |
201 | } | 201 | } |
202 | 202 | ||
203 | static struct usb_device_id vp702x_usb_table [] = { | 203 | static struct usb_device_id vp702x_usb_table [] = { |