aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/fsldma.c11
-rw-r--r--drivers/dma/ppc4xx/adma.c2
2 files changed, 8 insertions, 5 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 0e376eb37417..c3d74697f5a9 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -1409,10 +1409,13 @@ static const struct of_device_id fsldma_of_ids[] = {
1409}; 1409};
1410 1410
1411static struct of_platform_driver fsldma_of_driver = { 1411static struct of_platform_driver fsldma_of_driver = {
1412 .name = "fsl-elo-dma", 1412 .driver = {
1413 .match_table = fsldma_of_ids, 1413 .name = "fsl-elo-dma",
1414 .probe = fsldma_of_probe, 1414 .owner = THIS_MODULE,
1415 .remove = fsldma_of_remove, 1415 .of_match_table = fsldma_of_ids,
1416 },
1417 .probe = fsldma_of_probe,
1418 .remove = fsldma_of_remove,
1416}; 1419};
1417 1420
1418/*----------------------------------------------------------------------------*/ 1421/*----------------------------------------------------------------------------*/
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
index d44626fa35ad..a7b05447e0ab 100644
--- a/drivers/dma/ppc4xx/adma.c
+++ b/drivers/dma/ppc4xx/adma.c
@@ -4949,12 +4949,12 @@ static const struct of_device_id ppc440spe_adma_of_match[] __devinitconst = {
4949MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match); 4949MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match);
4950 4950
4951static struct of_platform_driver ppc440spe_adma_driver = { 4951static struct of_platform_driver ppc440spe_adma_driver = {
4952 .match_table = ppc440spe_adma_of_match,
4953 .probe = ppc440spe_adma_probe, 4952 .probe = ppc440spe_adma_probe,
4954 .remove = __devexit_p(ppc440spe_adma_remove), 4953 .remove = __devexit_p(ppc440spe_adma_remove),
4955 .driver = { 4954 .driver = {
4956 .name = "PPC440SP(E)-ADMA", 4955 .name = "PPC440SP(E)-ADMA",
4957 .owner = THIS_MODULE, 4956 .owner = THIS_MODULE,
4957 .of_match_table = ppc440spe_adma_of_match,
4958 }, 4958 },
4959}; 4959};
4960 4960