diff options
Diffstat (limited to 'drivers/ata/pata_cs5535.c')
-rw-r--r-- | drivers/ata/pata_cs5535.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c index d64fcdceaf01..f8def3f9c618 100644 --- a/drivers/ata/pata_cs5535.c +++ b/drivers/ata/pata_cs5535.c | |||
@@ -257,9 +257,10 @@ static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
257 | return ata_pci_init_one(dev, ports, 1); | 257 | return ata_pci_init_one(dev, ports, 1); |
258 | } | 258 | } |
259 | 259 | ||
260 | static struct pci_device_id cs5535[] = { | 260 | static const struct pci_device_id cs5535[] = { |
261 | { PCI_DEVICE(PCI_VENDOR_ID_NS, 0x002D), }, | 261 | { PCI_VDEVICE(NS, 0x002D), }, |
262 | { 0, }, | 262 | |
263 | { }, | ||
263 | }; | 264 | }; |
264 | 265 | ||
265 | static struct pci_driver cs5535_pci_driver = { | 266 | static struct pci_driver cs5535_pci_driver = { |
@@ -274,13 +275,11 @@ static int __init cs5535_init(void) | |||
274 | return pci_register_driver(&cs5535_pci_driver); | 275 | return pci_register_driver(&cs5535_pci_driver); |
275 | } | 276 | } |
276 | 277 | ||
277 | |||
278 | static void __exit cs5535_exit(void) | 278 | static void __exit cs5535_exit(void) |
279 | { | 279 | { |
280 | pci_unregister_driver(&cs5535_pci_driver); | 280 | pci_unregister_driver(&cs5535_pci_driver); |
281 | } | 281 | } |
282 | 282 | ||
283 | |||
284 | MODULE_AUTHOR("Alan Cox, Jens Altmann, Wolfgan Zuleger, Alexander Kiausch"); | 283 | MODULE_AUTHOR("Alan Cox, Jens Altmann, Wolfgan Zuleger, Alexander Kiausch"); |
285 | MODULE_DESCRIPTION("low-level driver for the NS/AMD 5530"); | 284 | MODULE_DESCRIPTION("low-level driver for the NS/AMD 5530"); |
286 | MODULE_LICENSE("GPL"); | 285 | MODULE_LICENSE("GPL"); |