[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080202230347.a126a143.sfr@canb.auug.org.au>
Date: Sat, 2 Feb 2008 23:03:47 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Paul Mundt <lethal@...ux-sh.org>
Cc: linux-sh@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] [SH] remove unneeded cast
now that platform_device_register_simple() takes a "const chat *".
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
arch/sh/drivers/dma/dma-api.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
This hasn't even been built, but is straight forward.
diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c
index 76ed816..727126e 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);
--
1.5.3.8
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists