diff options
| -rw-r--r-- | arch/mips/lantiq/xway/vmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lantiq/xway/vmmc.c b/arch/mips/lantiq/xway/vmmc.c index 577ec81b557d..3deab9a77718 100644 --- a/arch/mips/lantiq/xway/vmmc.c +++ b/arch/mips/lantiq/xway/vmmc.c | |||
| @@ -31,8 +31,8 @@ static int vmmc_probe(struct platform_device *pdev) | |||
| 31 | dma_addr_t dma; | 31 | dma_addr_t dma; |
| 32 | 32 | ||
| 33 | cp1_base = | 33 | cp1_base = |
| 34 | (void *) CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, | 34 | (void *) CPHYSADDR(dma_alloc_coherent(&pdev->dev, CP1_SIZE, |
| 35 | &dma, GFP_ATOMIC)); | 35 | &dma, GFP_KERNEL)); |
| 36 | 36 | ||
| 37 | gpio_count = of_gpio_count(pdev->dev.of_node); | 37 | gpio_count = of_gpio_count(pdev->dev.of_node); |
| 38 | while (gpio_count > 0) { | 38 | while (gpio_count > 0) { |
