summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2008-04-17 01:14:33 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 01:14:33 +0200
commit09a77441f27f51f5f9878c90c7ed67e303197a2a (patch)
tree555f0e2ce1e433e57ad907a4ee1b60ddc33366b8 /drivers
parent71fc4c0c441eab97630bf2b310e81ebff5e831d7 (diff)
downloadlinux-stable-09a77441f27f51f5f9878c90c7ed67e303197a2a.tar.gz
linux-stable-09a77441f27f51f5f9878c90c7ed67e303197a2a.tar.bz2
linux-stable-09a77441f27f51f5f9878c90c7ed67e303197a2a.zip
Au1200: kill IDE driver function prototypes
Fix these warnings emitted when compiling drivers/ide/mips/au1xxx-ide.c: include/asm/mach-au1x00/au1xxx_ide.h:137: warning: 'auide_tune_drive' declared `static' but never defined include/asm/mach-au1x00/au1xxx_ide.h:138: warning: 'auide_tune_chipset' declared `static' but never defined by wiping out the whole "function prototyping" section from the header file <asm-mips/mach-au1x00/au1xxx_ide.h> as it mostly declared functions that are already dead in the IDE driver; move the only useful prototype into the driver. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/mips/au1xxx-ide.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c
index 0f4bf5d72835..da91060c320f 100644
--- a/drivers/ide/mips/au1xxx-ide.c
+++ b/drivers/ide/mips/au1xxx-ide.c
@@ -56,6 +56,8 @@
static _auide_hwif auide_hwif;
static int dbdma_init_done;
+static int auide_ddma_init(_auide_hwif *auide);
+
#if defined(CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA)
void auide_insw(unsigned long port, void *addr, u32 count)