mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
31b9ab33d9
Cast first parameter to sata_cpy() In /drivers/block/ata_piix.h, ata_id_has_lba48(), ata_id_has_lba(), ata_id_has_dma(), ata_id_u32(), ata_id_u64() are all defined in include/libata.h which is included in ata.h which is included by all files which include ata_piix.h (only ata_piix.c) so these definitions are supurflous to (and conlict with) this in libata.h. Interestingly, my compiler complains about ata_id_u64 already being defined, but not ata_id_u32 ata_dump_id() is defined in include/libata.h and should not be static (maybe should even use ata_dump_id() in libata.c Signed-off-by: Graeme Russ <graeme.russ@gmail.com> |
||
---|---|---|
.. | ||
ahci.c | ||
ata_piix.c | ||
ata_piix.h | ||
fsl_sata.c | ||
fsl_sata.h | ||
libata.c | ||
Makefile | ||
mg_disk.c | ||
mg_disk_prv.h | ||
pata_bfin.c | ||
pata_bfin.h | ||
sata_dwc.c | ||
sata_dwc.h | ||
sata_sil3114.c | ||
sata_sil3114.h | ||
sil680.c | ||
sym53c8xx.c | ||
systemace.c |