forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
2a3eeba88f
commit
222dc791e1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user