projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3eeba
)
sh: remove unneeded cast
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Sat, 2 Feb 2008 12:03:47 +0000
(23:03 +1100)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/drivers/dma/dma-api.c
b/arch/sh/drivers/dma/dma-api.c
index 76ed816d9a24bd56966790f04bc0c74e2361da94..727126e907e33c01cdf616529b3c8e0221794398 100644
(file)
--- 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);