diff options
Diffstat (limited to 'drivers/ata/pata_cs5520.c')
-rw-r--r-- | drivers/ata/pata_cs5520.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/pata_cs5520.c b/drivers/ata/pata_cs5520.c index a6c6cebd0dae..2cd3c0ff76df 100644 --- a/drivers/ata/pata_cs5520.c +++ b/drivers/ata/pata_cs5520.c | |||
@@ -299,10 +299,11 @@ static void __devexit cs5520_remove_one(struct pci_dev *pdev) | |||
299 | /* For now keep DMA off. We can set it for all but A rev CS5510 once the | 299 | /* For now keep DMA off. We can set it for all but A rev CS5510 once the |
300 | core ATA code can handle it */ | 300 | core ATA code can handle it */ |
301 | 301 | ||
302 | static struct pci_device_id pata_cs5520[] = { | 302 | static const struct pci_device_id pata_cs5520[] = { |
303 | { PCI_DEVICE(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5510), }, | 303 | { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5510), }, |
304 | { PCI_DEVICE(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520), }, | 304 | { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5520), }, |
305 | { 0, }, | 305 | |
306 | { }, | ||
306 | }; | 307 | }; |
307 | 308 | ||
308 | static struct pci_driver cs5520_pci_driver = { | 309 | static struct pci_driver cs5520_pci_driver = { |
@@ -312,7 +313,6 @@ static struct pci_driver cs5520_pci_driver = { | |||
312 | .remove = cs5520_remove_one | 313 | .remove = cs5520_remove_one |
313 | }; | 314 | }; |
314 | 315 | ||
315 | |||
316 | static int __init cs5520_init(void) | 316 | static int __init cs5520_init(void) |
317 | { | 317 | { |
318 | return pci_register_driver(&cs5520_pci_driver); | 318 | return pci_register_driver(&cs5520_pci_driver); |