Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108744
b: refs/heads/master
c: d15cad5
h: refs/heads/master
v: v3
  • Loading branch information
Borislav Petkov authored and Bartlomiej Zolnierkiewicz committed Aug 18, 2008
1 parent 99fc87b commit d9c1576
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e636f78e5bbe95831e4d0071ee8f40b507e1cbd
refs/heads/master: d15cad5df1dac17ae33152646f599f0bdc6be48e
7 changes: 7 additions & 0 deletions trunk/drivers/cdrom/gdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,20 @@ static int gdrom_getsense(short *bufstring)
return err;
}

static int gdrom_audio_ioctl(struct cdrom_device_info *cdi, unsigned int cmd,
void *arg)
{
return -EINVAL;
}

static struct cdrom_device_ops gdrom_ops = {
.open = gdrom_open,
.release = gdrom_release,
.drive_status = gdrom_drivestatus,
.media_changed = gdrom_mediachanged,
.get_last_session = gdrom_get_last_session,
.reset = gdrom_hardreset,
.audio_ioctl = gdrom_audio_ioctl,
.capability = CDC_MULTI_SESSION | CDC_MEDIA_CHANGED |
CDC_RESET | CDC_DRIVE_STATUS | CDC_CD_R,
.n_minors = 1,
Expand Down

0 comments on commit d9c1576

Please sign in to comment.