diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 20:20:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-16 21:10:28 +0100 |
commit | 6893d9b51093cf499ee6217e98c50006ec2727c6 (patch) | |
tree | 3b9072435cc7199e0ccbac7887591a1df0ff097d /drivers/misc/carma/carma-fpga-program.c | |
parent | checkkconfigsymbols.py: filter reports for tools/ (diff) | |
download | linux-6893d9b51093cf499ee6217e98c50006ec2727c6.tar.xz linux-6893d9b51093cf499ee6217e98c50006ec2727c6.zip |
misc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/carma/carma-fpga-program.c')
-rw-r--r-- | drivers/misc/carma/carma-fpga-program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c index 06166ac000e0..fff8c43d9943 100644 --- a/drivers/misc/carma/carma-fpga-program.c +++ b/drivers/misc/carma/carma-fpga-program.c @@ -1142,7 +1142,7 @@ out_return: return ret; } -static struct of_device_id fpga_of_match[] = { +static const struct of_device_id fpga_of_match[] = { { .compatible = "carma,fpga-programmer", }, {}, }; |