projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mtd: constify of_device_id array
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
nand
/
mpc5121_nfc.c
diff --git
a/drivers/mtd/nand/mpc5121_nfc.c
b/drivers/mtd/nand/mpc5121_nfc.c
index 1f12e5bfbceda428ecb7650cc6bc0db1355d5124..2a49b53c8db96b03a3b56a7cd039502ebfee0c9d 100644
(file)
--- a/
drivers/mtd/nand/mpc5121_nfc.c
+++ b/
drivers/mtd/nand/mpc5121_nfc.c
@@
-837,7
+837,7
@@
static int mpc5121_nfc_remove(struct platform_device *op)
return 0;
}
return 0;
}
-static struct of_device_id mpc5121_nfc_match[] = {
+static
const
struct of_device_id mpc5121_nfc_match[] = {
{ .compatible = "fsl,mpc5121-nfc", },
{},
};
{ .compatible = "fsl,mpc5121-nfc", },
{},
};