diff options
Diffstat (limited to 'drivers/ata/pata_triflex.c')
-rw-r--r-- | drivers/ata/pata_triflex.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c index a954ed93a40c..9640f80e8b0d 100644 --- a/drivers/ata/pata_triflex.c +++ b/drivers/ata/pata_triflex.c | |||
@@ -248,13 +248,13 @@ static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
248 | } | 248 | } |
249 | 249 | ||
250 | static const struct pci_device_id triflex[] = { | 250 | static const struct pci_device_id triflex[] = { |
251 | { PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE, | 251 | { PCI_VDEVICE(COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE), }, |
252 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, | 252 | |
253 | { 0, }, | 253 | { }, |
254 | }; | 254 | }; |
255 | 255 | ||
256 | static struct pci_driver triflex_pci_driver = { | 256 | static struct pci_driver triflex_pci_driver = { |
257 | .name = DRV_NAME, | 257 | .name = DRV_NAME, |
258 | .id_table = triflex, | 258 | .id_table = triflex, |
259 | .probe = triflex_init_one, | 259 | .probe = triflex_init_one, |
260 | .remove = ata_pci_remove_one | 260 | .remove = ata_pci_remove_one |
@@ -265,13 +265,11 @@ static int __init triflex_init(void) | |||
265 | return pci_register_driver(&triflex_pci_driver); | 265 | return pci_register_driver(&triflex_pci_driver); |
266 | } | 266 | } |
267 | 267 | ||
268 | |||
269 | static void __exit triflex_exit(void) | 268 | static void __exit triflex_exit(void) |
270 | { | 269 | { |
271 | pci_unregister_driver(&triflex_pci_driver); | 270 | pci_unregister_driver(&triflex_pci_driver); |
272 | } | 271 | } |
273 | 272 | ||
274 | |||
275 | MODULE_AUTHOR("Alan Cox"); | 273 | MODULE_AUTHOR("Alan Cox"); |
276 | MODULE_DESCRIPTION("low-level driver for Compaq Triflex"); | 274 | MODULE_DESCRIPTION("low-level driver for Compaq Triflex"); |
277 | MODULE_LICENSE("GPL"); | 275 | MODULE_LICENSE("GPL"); |