Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118238
b: refs/heads/master
c: 545727f
h: refs/heads/master
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Oct 28, 2008
1 parent 8ccccfb commit 36b0a4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: e00afb64239dc764193d48a28bbfba6da2b3b5de
refs/heads/master: 545727f32049f6e7269f73a49904e3229192988e
5 changes: 3 additions & 2 deletions trunk/drivers/cdrom/gdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,10 @@ static int gdrom_bdops_open(struct block_device *bdev, fmode_t mode)
return cdrom_open(gd.cd_info, bdev, mode);
}

static int gdrom_bdops_release(struct block_device *bdev, fmode_t mode)
static int gdrom_bdops_release(struct gendisk *disk, fmode_t mode)
{
return cdrom_release(gd.cd_info, mode);
cdrom_release(gd.cd_info, mode);
return 0;
}

static int gdrom_bdops_mediachanged(struct gendisk *disk)
Expand Down

0 comments on commit 36b0a4b

Please sign in to comment.