summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-02-02 13:03:47 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-02-14 06:22:07 +0100
commit222dc791e1c3e8c0c0e2807c55999ad3d85e8760 (patch)
treeb32bf1250762b54c7a97650ac53f75f84287a0e8 /arch
parentsh: declared coherent memory support V2 fix (diff)
downloadlinux-222dc791e1c3e8c0c0e2807c55999ad3d85e8760.tar.xz
linux-222dc791e1c3e8c0c0e2807c55999ad3d85e8760.zip
sh: remove unneeded cast
now that platform_device_register_simple() takes a "const chat *". Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/drivers/dma/dma-api.c2
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)
BUG_ON((info->flags & DMAC_CHANNELS_CONFIGURED) && !info->channels);
- info->pdev = platform_device_register_simple((char *)info->name, -1,
+ info->pdev = platform_device_register_simple(info->name, -1,
NULL, 0);
if (IS_ERR(info->pdev))
return PTR_ERR(info->pdev);