diff options
Diffstat (limited to 'arch/sh/drivers/dma')
-rw-r--r-- | arch/sh/drivers/dma/dma-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c index 76ed816d9a24..727126e907e3 100644 --- a/arch/sh/drivers/dma/dma-api.c +++ b/arch/sh/drivers/dma/dma-api.c | |||
@@ -350,7 +350,7 @@ int register_dmac(struct dma_info *info) | |||
350 | 350 | ||
351 | BUG_ON((info->flags & DMAC_CHANNELS_CONFIGURED) && !info->channels); | 351 | BUG_ON((info->flags & DMAC_CHANNELS_CONFIGURED) && !info->channels); |
352 | 352 | ||
353 | info->pdev = platform_device_register_simple((char *)info->name, -1, | 353 | info->pdev = platform_device_register_simple(info->name, -1, |
354 | NULL, 0); | 354 | NULL, 0); |
355 | if (IS_ERR(info->pdev)) | 355 | if (IS_ERR(info->pdev)) |
356 | return PTR_ERR(info->pdev); | 356 | return PTR_ERR(info->pdev); |