mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
71fc4c0c44
commit
09a77441f2
2 changed files with 2 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue