]> err.no Git - linux-2.6/commitdiff
make cdrom.c:check_for_audio_disc() static
authorAdrian Bunk <bunk@kernel.org>
Tue, 4 Mar 2008 10:23:51 +0000 (11:23 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 4 Mar 2008 10:28:41 +0000 (11:28 +0100)
This patch makes the needlessly global check_for_audio_disc() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/cdrom/cdrom.c

index db259e60289b51ca84b46f56f67a741b0c473c16..12f5baea439bbf8a85874188b4e2dbeb4d79459a 100644 (file)
@@ -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;