From: Adrian Bunk Date: Tue, 4 Mar 2008 10:23:51 +0000 (+0100) Subject: make cdrom.c:check_for_audio_disc() static X-Git-Tag: v2.6.25-rc4~98^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ecb80c6a490863af569853eea2a925f97e9e856a;p=linux-2.6-omap-h63xx.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 db259e60289..12f5baea439 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;