]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: remove unneeded cast
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 2 Feb 2008 12:03:47 +0000 (23:03 +1100)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:07 +0000 (14:22 +0900)
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>
arch/sh/drivers/dma/dma-api.c

index 76ed816d9a24bd56966790f04bc0c74e2361da94..727126e907e33c01cdf616529b3c8e0221794398 100644 (file)
@@ -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);