diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-02-16 10:40:04 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-21 10:58:17 +0100 |
commit | 4bb64fb98168981d3e5a0e790c077ff511768e84 (patch) | |
tree | 0eb8abc40dc6777fb9ee0b98ae988904c2127b6b /drivers/ata/sis.h | |
parent | libata bugfix: HDIO_DRIVE_TASK (diff) | |
download | linux-4bb64fb98168981d3e5a0e790c077ff511768e84.tar.xz linux-4bb64fb98168981d3e5a0e790c077ff511768e84.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/ata/sis.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ata/sis.h b/drivers/ata/sis.h new file mode 100644 index 000000000000..231da8fc2200 --- /dev/null +++ b/drivers/ata/sis.h @@ -0,0 +1,5 @@ + +struct ata_port_info; + +/* pata_sis.c */ +extern struct ata_port_info sis_info133; |