SiS warning fixes
authorAlan <alan@lxorguk.ukuu.org.uk>
Fri, 16 Feb 2007 09:40:04 +0000 (01:40 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:17 +0000 (04:58 -0500)
commit4bb64fb98168981d3e5a0e790c077ff511768e84
tree0eb8abc40dc6777fb9ee0b98ae988904c2127b6b
parent2b06719153089aa8f5ac577f15f8aa8e5b5fe357
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>
drivers/ata/libata.h
drivers/ata/pata_sis.c
drivers/ata/sata_sis.c
drivers/ata/sis.h [new file with mode: 0644]