projects
/
platform
/
kernel
/
linux-rpi.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
4d17436
..
90f871a
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,
},