diff options
Diffstat (limited to 'drivers/ata/pata_ns87410.c')
-rw-r--r-- | drivers/ata/pata_ns87410.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c index 2005a95f48f6..2a3dbeed89b4 100644 --- a/drivers/ata/pata_ns87410.c +++ b/drivers/ata/pata_ns87410.c | |||
@@ -200,12 +200,13 @@ static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
200 | } | 200 | } |
201 | 201 | ||
202 | static const struct pci_device_id ns87410[] = { | 202 | static const struct pci_device_id ns87410[] = { |
203 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87410), }, | 203 | { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_87410), }, |
204 | { 0, }, | 204 | |
205 | { }, | ||
205 | }; | 206 | }; |
206 | 207 | ||
207 | static struct pci_driver ns87410_pci_driver = { | 208 | static struct pci_driver ns87410_pci_driver = { |
208 | .name = DRV_NAME, | 209 | .name = DRV_NAME, |
209 | .id_table = ns87410, | 210 | .id_table = ns87410, |
210 | .probe = ns87410_init_one, | 211 | .probe = ns87410_init_one, |
211 | .remove = ata_pci_remove_one | 212 | .remove = ata_pci_remove_one |
@@ -216,13 +217,11 @@ static int __init ns87410_init(void) | |||
216 | return pci_register_driver(&ns87410_pci_driver); | 217 | return pci_register_driver(&ns87410_pci_driver); |
217 | } | 218 | } |
218 | 219 | ||
219 | |||
220 | static void __exit ns87410_exit(void) | 220 | static void __exit ns87410_exit(void) |
221 | { | 221 | { |
222 | pci_unregister_driver(&ns87410_pci_driver); | 222 | pci_unregister_driver(&ns87410_pci_driver); |
223 | } | 223 | } |
224 | 224 | ||
225 | |||
226 | MODULE_AUTHOR("Alan Cox"); | 225 | MODULE_AUTHOR("Alan Cox"); |
227 | MODULE_DESCRIPTION("low-level driver for Nat Semi 87410"); | 226 | MODULE_DESCRIPTION("low-level driver for Nat Semi 87410"); |
228 | MODULE_LICENSE("GPL"); | 227 | MODULE_LICENSE("GPL"); |