]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Au1200: kill IDE driver function prototypes
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 16 Apr 2008 23:14:33 +0000 (01:14 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Apr 2008 23:14:33 +0000 (01:14 +0200)
commit09a77441f27f51f5f9878c90c7ed67e303197a2a
tree555f0e2ce1e433e57ad907a4ee1b60ddc33366b8
parent71fc4c0c441eab97630bf2b310e81ebff5e831d7
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>
drivers/ide/mips/au1xxx-ide.c
include/asm-mips/mach-au1x00/au1xxx_ide.h