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:
f62cde4
)
mtd: st_spi_fsm: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 08:46:59 +0000
(17:46 +0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 20 May 2014 23:35:29 +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>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/st_spi_fsm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/devices/st_spi_fsm.c
b/drivers/mtd/devices/st_spi_fsm.c
index f97fe144077d77b6cc6bf91da47ce043afc7fb8a..d252514d3e98e00343d6a3f7e8e1e63151d0d7d5 100644
(file)
--- a/
drivers/mtd/devices/st_spi_fsm.c
+++ b/
drivers/mtd/devices/st_spi_fsm.c
@@
-2058,7
+2058,7
@@
static int stfsm_remove(struct platform_device *pdev)
return mtd_device_unregister(&fsm->mtd);
}
-static struct of_device_id stfsm_match[] = {
+static
const
struct of_device_id stfsm_match[] = {
{ .compatible = "st,spi-fsm", },
{},
};