]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gdrom: add dummy audio_ioctl handler
authorBorislav Petkov <petkovbb@gmail.com>
Mon, 18 Aug 2008 19:40:04 +0000 (21:40 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Aug 2008 19:40:04 +0000 (21:40 +0200)
commitd15cad5df1dac17ae33152646f599f0bdc6be48e
tree8a8cddebf54dcdb52cbfcfe72e11fdfba5ccace4
parent3e636f78e5bbe95831e4d0071ee8f40b507e1cbd
gdrom: add dummy audio_ioctl handler

Make sure audio_ioctl is always defined even if being a dummy function
since the cdrom_ioctl interface assumes its existence and we don't
want to BUG on null ptr on some ioctls like, e.g. CDROMREADTOCENTRY,
CDROMREADTOCHDR etc. when we fix CDC_PLAY_AUDIO checking in cdrom.c.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Acked-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/cdrom/gdrom.c