From: Adrian Bunk Date: Tue, 4 Mar 2008 10:23:51 +0000 (+0100) Subject: make cdrom.c:check_for_audio_disc() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ecb80c6a490863af569853eea2a925f97e9e856a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git make cdrom.c:check_for_audio_disc() static This patch makes the needlessly global check_for_audio_disc() static. Signed-off-by: Adrian Bunk Signed-off-by: Jens Axboe --- diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index db259e60289b..12f5baea439b 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -1152,8 +1152,8 @@ clean_up_and_return: /* This code is similar to that in open_for_data. The routine is called whenever an audio play operation is requested. */ -int check_for_audio_disc(struct cdrom_device_info * cdi, - struct cdrom_device_ops * cdo) +static int check_for_audio_disc(struct cdrom_device_info * cdi, + struct cdrom_device_ops * cdo) { int ret; tracktype tracks;