projects
/
GitHub
/
moto-9609
/
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:
17754ad
)
mtd: orion_nand: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 08:50:23 +0000
(17:50 +0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 20 May 2014 23:35:30 +0000
(16:35 -0700)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/orion_nand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/orion_nand.c
b/drivers/mtd/nand/orion_nand.c
index dd7fe817eafb319ebc9ae92b2cbbac8613b38add..471b4df3a5ac951fa1536fa284bee1672061f247 100644
(file)
--- a/
drivers/mtd/nand/orion_nand.c
+++ b/
drivers/mtd/nand/orion_nand.c
@@
-214,7
+214,7
@@
static int orion_nand_remove(struct platform_device *pdev)
}
#ifdef CONFIG_OF
-static struct of_device_id orion_nand_of_match_table[] = {
+static
const
struct of_device_id orion_nand_of_match_table[] = {
{ .compatible = "marvell,orion-nand", },
{},
};