linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-mm patch] drivers/ata/sata_nv.c: make 3 functions static
       [not found] <20070606220313.8f7c1fab.akpm@linux-foundation.org>
@ 2007-06-12 23:03 ` Adrian Bunk
  2007-06-14 22:16 ` [-mm patch] drivers/ide/ide-dma.c: unexport ide_set_dma Adrian Bunk
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-06-12 23:03 UTC (permalink / raw)
  To: Andrew Morton, Peer Chen, Kuan Luo, jgarzik; +Cc: linux-kernel, linux-ide

This patch makes 3 needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/ata/sata_nv.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- linux-2.6.22-rc4-mm2/drivers/ata/sata_nv.c.old	2007-06-13 00:02:18.000000000 +0200
+++ linux-2.6.22-rc4-mm2/drivers/ata/sata_nv.c	2007-06-13 00:03:12.000000000 +0200
@@ -314,7 +314,7 @@
 static int nv_ncqintr_dmasetupfis(struct ata_port *ap);
 static void ncq_clear_singlefis(struct ata_port *ap, u32 val);
 static u32 ncq_ownfisintr_value (struct ata_port *ap);
-void ncq_hotplug(struct ata_port *ap, u32 fis);
+static void ncq_hotplug(struct ata_port *ap, u32 fis);
 static irqreturn_t nv_mcp55_interrupt(int irq, void *dev_instance);
 static int ncq_interrupt(struct ata_port *ap, u32 fis);
 static int nv_scsi_queuecmd(struct scsi_cmnd *cmd,
@@ -1931,7 +1931,7 @@
 	ncq_clear(ap);
 }
 
-int nv_std_prereset(struct ata_port *ap, unsigned long deadline)
+static int nv_std_prereset(struct ata_port *ap, unsigned long deadline)
 {
 	struct ata_eh_context *ehc = &ap->eh_context;
 
@@ -2265,7 +2265,7 @@
 	return 0;
 }
 
-u32 ncq_valid_dhfisflag(struct nv_port_priv *pp)
+static u32 ncq_valid_dhfisflag(struct nv_port_priv *pp)
 {
 	u32 valid = (pp->dhfis_flags == pp->qc_active);
 
@@ -2332,7 +2332,7 @@
 #endif
 
 
-void ncq_hotplug(struct ata_port *ap, u32 fis)
+static void ncq_hotplug(struct ata_port *ap, u32 fis)
 {
 	u32 serror;
 	struct ata_eh_info *ehi = &ap->eh_info;


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

* [-mm patch] drivers/ide/ide-dma.c: unexport ide_set_dma
       [not found] <20070606220313.8f7c1fab.akpm@linux-foundation.org>
  2007-06-12 23:03 ` [-mm patch] drivers/ata/sata_nv.c: make 3 functions static Adrian Bunk
@ 2007-06-14 22:16 ` Adrian Bunk
  2007-06-16  0:18   ` Bartlomiej Zolnierkiewicz
  1 sibling, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-06-14 22:16 UTC (permalink / raw)
  To: Andrew Morton, Bartlomiej Zolnierkiewicz; +Cc: linux-kernel, linux-ide

ide_set_dma no longer has any modular user.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.22-rc4-mm2/drivers/ide/ide-dma.c.old	2007-06-14 23:52:30.000000000 +0200
+++ linux-2.6.22-rc4-mm2/drivers/ide/ide-dma.c	2007-06-14 23:52:38.000000000 +0200
@@ -847,8 +847,6 @@
 	return rc;
 }
 
-EXPORT_SYMBOL_GPL(ide_set_dma);
-
 #ifdef CONFIG_BLK_DEV_IDEDMA_PCI
 void ide_dma_lost_irq (ide_drive_t *drive)
 {


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

* Re: [-mm patch] drivers/ide/ide-dma.c: unexport ide_set_dma
  2007-06-14 22:16 ` [-mm patch] drivers/ide/ide-dma.c: unexport ide_set_dma Adrian Bunk
@ 2007-06-16  0:18   ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-06-16  0:18 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel, linux-ide

On Friday 15 June 2007, Adrian Bunk wrote:
> ide_set_dma no longer has any modular user.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

applied

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

end of thread, other threads:[~2007-06-16  0:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070606220313.8f7c1fab.akpm@linux-foundation.org>
2007-06-12 23:03 ` [-mm patch] drivers/ata/sata_nv.c: make 3 functions static Adrian Bunk
2007-06-14 22:16 ` [-mm patch] drivers/ide/ide-dma.c: unexport ide_set_dma Adrian Bunk
2007-06-16  0:18   ` 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).