Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285774
b: refs/heads/master
c: 15cb6af
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Petazzoni authored and Mauro Carvalho Chehab committed Jan 11, 2012
1 parent c165309 commit fd1e5f9
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: 9e94136d364a424b53048031bd35a4261ae8f9e2
refs/heads/master: 15cb6af8ac1ee1291f98bae51cd46c6719e90c0f
5 changes: 2 additions & 3 deletions trunk/drivers/media/video/cx231xx/cx231xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,10 +868,9 @@ void cx231xx_release_resources(struct cx231xx *dev)
* cx231xx_init_dev()
* allocates and inits the device structs, registers i2c bus and v4l device
*/
static int cx231xx_init_dev(struct cx231xx **devhandle, struct usb_device *udev,
static int cx231xx_init_dev(struct cx231xx *dev, struct usb_device *udev,
int minor)
{
struct cx231xx *dev = *devhandle;
int retval = -ENOMEM;
int errCode;
unsigned int maxh, maxw;
Expand Down Expand Up @@ -1154,7 +1153,7 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
return -EIO;
}
/* allocate device struct */
retval = cx231xx_init_dev(&dev, udev, nr);
retval = cx231xx_init_dev(dev, udev, nr);
if (retval) {
clear_bit(dev->devno, &cx231xx_devused);
v4l2_device_unregister(&dev->v4l2_dev);
Expand Down

0 comments on commit fd1e5f9

Please sign in to comment.