diff options
author | Fabian Frederick | 2015-03-16 20:20:28 +0100 |
---|---|---|
committer | Brian Norris | 2015-05-06 23:44:07 -0700 |
commit | 666104436543d171b8b1a7213fd1d8bbef1361d5 (patch) | |
tree | 68da1b2b81618118fd057587578aeadbd1d6e68a /drivers/mtd/nand/mpc5121_nfc.c | |
parent | f5cd2ae1e4ad23bc6527b4a667d3f27534730cc5 (diff) |
mtd: constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/mpc5121_nfc.c')
-rw-r--r-- | drivers/mtd/nand/mpc5121_nfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 1f12e5bfbced..2a49b53c8db9 100644 --- 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; } -static struct of_device_id mpc5121_nfc_match[] = { +static const struct of_device_id mpc5121_nfc_match[] = { { .compatible = "fsl,mpc5121-nfc", }, {}, }; |