diff options
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r-- | drivers/dma/imx-sdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index f45e0928852b..b331ebb4d1d5 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c | |||
@@ -1332,7 +1332,7 @@ static int __init sdma_probe(struct platform_device *pdev) | |||
1332 | int ret; | 1332 | int ret; |
1333 | int irq; | 1333 | int irq; |
1334 | struct resource *iores; | 1334 | struct resource *iores; |
1335 | struct sdma_platform_data *pdata = pdev->dev.platform_data; | 1335 | struct sdma_platform_data *pdata = dev_get_platdata(&pdev->dev); |
1336 | int i; | 1336 | int i; |
1337 | struct sdma_engine *sdma; | 1337 | struct sdma_engine *sdma; |
1338 | s32 *saddr_arr; | 1338 | s32 *saddr_arr; |