diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-09-01 06:48:52 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-09-01 06:48:52 -0400 |
commit | 7d05154840db52201d8e719fd0f091b8381e362f (patch) | |
tree | 8551ae720ec345f395fc360bbb68e3324759913a /drivers/ata/ata_piix.c | |
parent | 40ffbfad6bb79a99cc7627bdaca0ee22dec526f6 (diff) |
[libata] ata_piix: properly terminate DMI system list
If you don't terminate a list, bad things happen...
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ata_piix.c')
-rw-r--r-- | drivers/ata/ata_piix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index e40c94f5f59d..3b8bf1812dc8 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -955,7 +955,8 @@ static int piix_broken_suspend(void) | |||
955 | DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"), | 955 | DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"), |
956 | }, | 956 | }, |
957 | }, | 957 | }, |
958 | { } | 958 | |
959 | { } /* terminate list */ | ||
959 | }; | 960 | }; |
960 | static const char *oemstrs[] = { | 961 | static const char *oemstrs[] = { |
961 | "Tecra M3,", | 962 | "Tecra M3,", |
@@ -1187,6 +1188,8 @@ static void piix_iocfg_bit18_quirk(struct pci_dev *pdev) | |||
1187 | DMI_MATCH(DMI_PRODUCT_NAME, "M570U"), | 1188 | DMI_MATCH(DMI_PRODUCT_NAME, "M570U"), |
1188 | }, | 1189 | }, |
1189 | }, | 1190 | }, |
1191 | |||
1192 | { } /* terminate list */ | ||
1190 | }; | 1193 | }; |
1191 | u32 iocfg; | 1194 | u32 iocfg; |
1192 | 1195 | ||