diff options
Diffstat (limited to 'drivers/ata/pata_serverworks.c')
-rw-r--r-- | drivers/ata/pata_serverworks.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index a5c8d7e121d1..5bbf76ec14a4 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -553,13 +553,14 @@ static int serverworks_init_one(struct pci_dev *pdev, const struct pci_device_id | |||
553 | return ata_pci_init_one(pdev, port_info, ports); | 553 | return ata_pci_init_one(pdev, port_info, ports); |
554 | } | 554 | } |
555 | 555 | ||
556 | static struct pci_device_id serverworks[] = { | 556 | static const struct pci_device_id serverworks[] = { |
557 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_OSB4IDE), 0}, | 557 | { PCI_VDEVICE(SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_OSB4IDE), 0}, |
558 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB5IDE), 2}, | 558 | { PCI_VDEVICE(SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB5IDE), 2}, |
559 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB6IDE), 2}, | 559 | { PCI_VDEVICE(SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB6IDE), 2}, |
560 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2), 2}, | 560 | { PCI_VDEVICE(SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2), 2}, |
561 | { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_HT1000IDE), 2}, | 561 | { PCI_VDEVICE(SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_HT1000IDE), 2}, |
562 | { 0, }, | 562 | |
563 | { }, | ||
563 | }; | 564 | }; |
564 | 565 | ||
565 | static struct pci_driver serverworks_pci_driver = { | 566 | static struct pci_driver serverworks_pci_driver = { |
@@ -574,13 +575,11 @@ static int __init serverworks_init(void) | |||
574 | return pci_register_driver(&serverworks_pci_driver); | 575 | return pci_register_driver(&serverworks_pci_driver); |
575 | } | 576 | } |
576 | 577 | ||
577 | |||
578 | static void __exit serverworks_exit(void) | 578 | static void __exit serverworks_exit(void) |
579 | { | 579 | { |
580 | pci_unregister_driver(&serverworks_pci_driver); | 580 | pci_unregister_driver(&serverworks_pci_driver); |
581 | } | 581 | } |
582 | 582 | ||
583 | |||
584 | MODULE_AUTHOR("Alan Cox"); | 583 | MODULE_AUTHOR("Alan Cox"); |
585 | MODULE_DESCRIPTION("low-level driver for Serverworks OSB4/CSB5/CSB6"); | 584 | MODULE_DESCRIPTION("low-level driver for Serverworks OSB4/CSB5/CSB6"); |
586 | MODULE_LICENSE("GPL"); | 585 | MODULE_LICENSE("GPL"); |