make ide-iops.c:SELECT_MASK() static
authorAdrian Bunk <bunk@kernel.org>
Wed, 14 May 2008 21:06:15 +0000 (23:06 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 14 May 2008 21:06:15 +0000 (23:06 +0200)
SELECT_MASK() can now become static.

[bart: remove space between function name and open parenthesis]

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c
include/linux/ide.h

index 57d9a9a..0daf923 100644 (file)
@@ -95,7 +95,7 @@ void SELECT_DRIVE (ide_drive_t *drive)
        hwif->OUTB(drive->select.all, hwif->io_ports.device_addr);
 }
 
-void SELECT_MASK (ide_drive_t *drive, int mask)
+static void SELECT_MASK(ide_drive_t *drive, int mask)
 {
        const struct ide_port_ops *port_ops = drive->hwif->port_ops;
 
index b0135b0..19ec852 100644 (file)
@@ -965,7 +965,6 @@ typedef struct ide_task_s {
 void ide_tf_dump(const char *, struct ide_taskfile *);
 
 extern void SELECT_DRIVE(ide_drive_t *);
-extern void SELECT_MASK(ide_drive_t *, int);
 
 extern int drive_is_ready(ide_drive_t *);