Skip to content

Commit

Permalink
sh: remove unneeded cast
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Paul Mundt committed Feb 14, 2008
1 parent 2a3eeba commit 222dc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/drivers/dma/dma-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 222dc79

Please sign in to comment.