SiS warning fixes

Somehow the sis_info133 external definition ended up in libata.h and that
was included by both drivers.  However libata.h contains libata-* specific
internals and clashing defines like DRV_NAME so this makes a mess.  Move
the extern into the C file and remove the warnings

[akpm@linux-foundation.org: create sis.h to avoid extern-decl-in-C]
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Šī revīzija ir iekļauta:
Alan
2007-02-16 01:40:04 -08:00
revīziju iesūtīja Jeff Garzik
vecāks 2b06719153
revīzija 4bb64fb981
4 mainīti faili ar 7 papildinājumiem un 6 dzēšanām

5
drivers/ata/sis.h Parasts fails
Parādīt failu

@@ -0,0 +1,5 @@
struct ata_port_info;
/* pata_sis.c */
extern struct ata_port_info sis_info133;