diff options
Diffstat (limited to 'drivers/ide/pmac.c')
-rw-r--r-- | drivers/ide/pmac.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c index 183fa38760d8..ebcf8e470a97 100644 --- a/drivers/ide/pmac.c +++ b/drivers/ide/pmac.c | |||
@@ -1400,8 +1400,11 @@ static struct of_device_id pmac_ide_macio_match[] = | |||
1400 | 1400 | ||
1401 | static struct macio_driver pmac_ide_macio_driver = | 1401 | static struct macio_driver pmac_ide_macio_driver = |
1402 | { | 1402 | { |
1403 | .name = "ide-pmac", | 1403 | .driver = { |
1404 | .match_table = pmac_ide_macio_match, | 1404 | .name = "ide-pmac", |
1405 | .owner = THIS_MODULE, | ||
1406 | .of_match_table = pmac_ide_macio_match, | ||
1407 | }, | ||
1405 | .probe = pmac_ide_macio_attach, | 1408 | .probe = pmac_ide_macio_attach, |
1406 | .suspend = pmac_ide_macio_suspend, | 1409 | .suspend = pmac_ide_macio_suspend, |
1407 | .resume = pmac_ide_macio_resume, | 1410 | .resume = pmac_ide_macio_resume, |