Commit ecb80c6a authored by Adrian Bunk's avatar Adrian Bunk Committed by Jens Axboe

make cdrom.c:check_for_audio_disc() static

This patch makes the needlessly global check_for_audio_disc() static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent a0db701a
...@@ -1152,8 +1152,8 @@ int open_for_data(struct cdrom_device_info * cdi) ...@@ -1152,8 +1152,8 @@ int open_for_data(struct cdrom_device_info * cdi)
/* This code is similar to that in open_for_data. The routine is called /* This code is similar to that in open_for_data. The routine is called
whenever an audio play operation is requested. whenever an audio play operation is requested.
*/ */
int check_for_audio_disc(struct cdrom_device_info * cdi, static int check_for_audio_disc(struct cdrom_device_info * cdi,
struct cdrom_device_ops * cdo) struct cdrom_device_ops * cdo)
{ {
int ret; int ret;
tracktype tracks; tracktype tracks;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment