diff options
Diffstat (limited to 'drivers/ata/pata_macio.c')
-rw-r--r-- | drivers/ata/pata_macio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c index 76640ac76888..75b49d01780b 100644 --- a/drivers/ata/pata_macio.c +++ b/drivers/ata/pata_macio.c | |||
@@ -1355,8 +1355,11 @@ static struct of_device_id pata_macio_match[] = | |||
1355 | 1355 | ||
1356 | static struct macio_driver pata_macio_driver = | 1356 | static struct macio_driver pata_macio_driver = |
1357 | { | 1357 | { |
1358 | .name = "pata-macio", | 1358 | .driver = { |
1359 | .match_table = pata_macio_match, | 1359 | .name = "pata-macio", |
1360 | .owner = THIS_MODULE, | ||
1361 | .of_match_table = pata_macio_match, | ||
1362 | }, | ||
1360 | .probe = pata_macio_attach, | 1363 | .probe = pata_macio_attach, |
1361 | .remove = pata_macio_detach, | 1364 | .remove = pata_macio_detach, |
1362 | #ifdef CONFIG_PM | 1365 | #ifdef CONFIG_PM |
@@ -1366,9 +1369,6 @@ static struct macio_driver pata_macio_driver = | |||
1366 | #ifdef CONFIG_PMAC_MEDIABAY | 1369 | #ifdef CONFIG_PMAC_MEDIABAY |
1367 | .mediabay_event = pata_macio_mb_event, | 1370 | .mediabay_event = pata_macio_mb_event, |
1368 | #endif | 1371 | #endif |
1369 | .driver = { | ||
1370 | .owner = THIS_MODULE, | ||
1371 | }, | ||
1372 | }; | 1372 | }; |
1373 | 1373 | ||
1374 | static const struct pci_device_id pata_macio_pci_match[] = { | 1374 | static const struct pci_device_id pata_macio_pci_match[] = { |