android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz 284aa76b53 ide: fix au1xxx-ide breakage
On Monday 28 April 2008, Sergei Shtylyov wrote:
> Hello, I wrote:
> 
> > 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>
> 
> > ---
> > I'm not sure thru which tree this should go -- probably thru Linux/MIPS one...
> 
> > Bart, au1xxx-ide-fix-mwdma-support.patch will probably need to be updated to
> > remove that added prototype since it won't be needed anymore...
> 
>     Which you haven't done either in that patch or in 
> au1xxx-ide-use-init_dma-method.patch. So, face the consequences:
> 
> drivers/ide/mips/au1xxx-ide.c:456: error: conflicting types for 'auide_ddma_init'
> drivers/ide/mips/au1xxx-ide.c:51: error: previous declaration of
> 'auide_ddma_init' was here
> drivers/ide/mips/au1xxx-ide.c:456: error: conflicting types for 'auide_ddma_init'
> drivers/ide/mips/au1xxx-ide.c:51: error: previous declaration of
> 'auide_ddma_init' was here
> drivers/ide/mips/au1xxx-ide.c:51: warning: 'auide_ddma_init' used but never
> defined

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-28 23:44:35 +02:00
..
arm more icside breakage (from next ide merge) 2008-04-28 10:03:31 -07:00
cris ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
h8300 ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
legacy q40ide breakage 2008-04-28 10:03:31 -07:00
mips ide: fix au1xxx-ide breakage 2008-04-28 23:44:35 +02:00
pci ide: remove /proc/ide/ali 2008-04-27 15:38:33 +02:00
ppc ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-acpi.c ide: add "noacpi" / "acpigtf" / "acpionboot" parameters 2008-04-27 15:38:30 +02:00
ide-cd_ioctl.c ide-cd: mark REQ_TYPE_ATA_PC write requests with REQ_RW flag 2008-03-07 21:53:49 +01:00
ide-cd_verbose.c ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
ide-cd.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-cd.h ide-cd: remove the internal 64k buffer 2008-04-26 17:36:37 +02:00
ide-disk.c ide-disk: fix issues found by checkpatch.pl 2008-04-26 17:36:37 +02:00
ide-dma.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
ide-floppy.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-generic.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-io.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-iops.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-lib.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-pnp.c ide: make ide_unregister() take 'ide_hwif_t *' as an argument (take 2) 2008-04-27 15:38:31 +02:00
ide-probe.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-proc.c ide: remove now unused ide_pci_create_host_proc() 2008-04-27 15:38:34 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide-tape: remove tape->merge_stage 2008-04-27 15:38:34 +02:00
ide-taskfile.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
ide-timing.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ide.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
Kconfig ide/Kconfig: BLK_DEV_4DRIVES should be a tristate 2008-04-26 17:36:31 +02:00
Makefile ide: fix ide_find_port() 2008-04-18 00:46:21 +02:00
setup-pci.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00