projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4bb4f
)
mtd: pasemi_nand.c: remove superfluous name cast
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Tue, 12 Nov 2013 19:07:16 +0000
(20:07 +0100)
committer
Brian Norris
<computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:09 +0000
(11:22 -0800)
device_driver.name is "const char *"
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Olof Johansson <olof@lixom.net>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pasemi_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/pasemi_nand.c
b/drivers/mtd/nand/pasemi_nand.c
index 4d174366a0f09ec2ebecd99fc8241fc978a05caa..90f871acb0efec737c918532bbdd350ca7969220 100644
(file)
--- a/
drivers/mtd/nand/pasemi_nand.c
+++ b/
drivers/mtd/nand/pasemi_nand.c
@@
-223,7
+223,7
@@
MODULE_DEVICE_TABLE(of, pasemi_nand_match);
static struct platform_driver pasemi_nand_driver =
{
.driver = {
- .name =
(char*)
driver_name,
+ .name = driver_name,
.owner = THIS_MODULE,
.of_match_table = pasemi_nand_match,
},