]> git.baikalelectronics.ru Git - kernel.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)
commit47527fb8bcb145ae6efe4960fd14f65b43c034ed
tree555f0e2ce1e433e57ad907a4ee1b60ddc33366b8
parent89b7eb455b01214d87ac31fe471c19437dc59aa7
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