viocd: add dummy audio ioctl handler
authorBorislav Petkov <petkovbb@gmail.com>
Mon, 18 Aug 2008 19:40:03 +0000 (21:40 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Aug 2008 19:40:03 +0000 (21:40 +0200)
commit3e636f78e5bbe95831e4d0071ee8f40b507e1cbd
tree18619a1ffab617023013c94c780898483ffad0ac
parent1f49060adcc1817337af95392bdf8a6205abffa0
viocd: 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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/cdrom/viocd.c