diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-01-08 11:11:07 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:34 -0500 |
commit | 9b14dec5adf47287a2b52fc9fdedd6a0e245daca (patch) | |
tree | 7f668908385c18c957b076797c558033f2e370f5 /drivers/ata/pata_sis.c | |
parent | 5924b74c1cde5ef0246cf0dfbe689b27ffbe815b (diff) |
sata_sis: Support for PATA supports
This is quick rework of the patch Uwe proposed but using Kconfig not
ifdefs and user selection to sort out PATA support. Instead of ifdefs and
requiring the user to select both drivers the SATA driver selects the
PATA one.
For neatness I've also moved the extern into the function that uses it.
Signed-off-by: Alan Cox
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_sis.c')
-rw-r--r-- | drivers/ata/pata_sis.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index d9486fcd59f2..6746f3fb0876 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -796,6 +796,8 @@ static struct ata_port_info sis_info133_early = { | |||
796 | .port_ops = &sis_133_early_ops, | 796 | .port_ops = &sis_133_early_ops, |
797 | }; | 797 | }; |
798 | 798 | ||
799 | /* Privately shared with the SiS180 SATA driver, not for use elsewhere */ | ||
800 | EXPORT_SYMBOL_GPL(sis_info133); | ||
799 | 801 | ||
800 | static void sis_fixup(struct pci_dev *pdev, struct sis_chipset *sis) | 802 | static void sis_fixup(struct pci_dev *pdev, struct sis_chipset *sis) |
801 | { | 803 | { |