Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285777
b: refs/heads/master
c: 622c2fc
h: refs/heads/master
i:
  285775: 3050877
v: v3
  • Loading branch information
Thomas Petazzoni authored and Mauro Carvalho Chehab committed Jan 11, 2012
1 parent f33ea01 commit 43c0732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: d07b901f9dc22977c2c04f320a9cef19e5298e7e
refs/heads/master: 622c2fc1f2613bef953d2af908e7b83f4de4b994
5 changes: 2 additions & 3 deletions trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -2916,11 +2916,10 @@ void em28xx_release_resources(struct em28xx *dev)
* em28xx_init_dev()
* allocates and inits the device structs, registers i2c bus and v4l device
*/
static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,
static int em28xx_init_dev(struct em28xx *dev, struct usb_device *udev,
struct usb_interface *interface,
int minor)
{
struct em28xx *dev = *devhandle;
int retval;

dev->udev = udev;
Expand Down Expand Up @@ -3302,7 +3301,7 @@ static int em28xx_usb_probe(struct usb_interface *interface,
/* allocate device struct */
mutex_init(&dev->lock);
mutex_lock(&dev->lock);
retval = em28xx_init_dev(&dev, udev, interface, nr);
retval = em28xx_init_dev(dev, udev, interface, nr);
if (retval) {
goto unlock_and_free;
}
Expand Down

0 comments on commit 43c0732

Please sign in to comment.