linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2,6 patch] make ide-iops.c:SELECT_MASK() static
@ 2008-05-05 18:21 Adrian Bunk
  2008-05-06 15:59 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-05-05 18:21 UTC (permalink / raw)
  To: bzolnier; +Cc: linux-ide, linux-kernel

SELECT_MASK() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/ide/ide-iops.c |    2 +-
 include/linux/ide.h    |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

a40b494f0b7f057a6cb143ab2846cfe3f58417ee diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 57d9a9a..200eb2a 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -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;
 
diff --git a/include/linux/ide.h b/include/linux/ide.h
index b0135b0..19ec852 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -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 *);
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2,6 patch] make ide-iops.c:SELECT_MASK() static
  2008-05-05 18:21 [2,6 patch] make ide-iops.c:SELECT_MASK() static Adrian Bunk
@ 2008-05-06 15:59 ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-05-06 15:59 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-ide, linux-kernel

On Monday 05 May 2008, Adrian Bunk wrote:
> SELECT_MASK() can now become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-06 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 18:21 [2,6 patch] make ide-iops.c:SELECT_MASK() static Adrian Bunk
2008-05-06 15:59 ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).