diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-15 15:46:11 +0900 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-06-02 19:29:37 +0200 |
commit | eae45e5dd229d5c6f0aed9789a5d1e84f7ea6100 (patch) | |
tree | f0078f8043e9d7b10f90393c1007e78f1444c3c3 /drivers/i2c/busses/i2c-riic.c | |
parent | 46797a2adbf0cdc3be17707dc64e872eeed86a8a (diff) | |
download | blackbird-op-linux-eae45e5dd229d5c6f0aed9789a5d1e84f7ea6100.tar.gz blackbird-op-linux-eae45e5dd229d5c6f0aed9789a5d1e84f7ea6100.zip |
i2c: Make of_device_id array const
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: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-riic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-riic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-riic.c b/drivers/i2c/busses/i2c-riic.c index 9e1f8bacfb39..af3b3d032a9f 100644 --- a/drivers/i2c/busses/i2c-riic.c +++ b/drivers/i2c/busses/i2c-riic.c @@ -404,7 +404,7 @@ static int riic_i2c_remove(struct platform_device *pdev) return 0; } -static struct of_device_id riic_i2c_dt_ids[] = { +static const struct of_device_id riic_i2c_dt_ids[] = { { .compatible = "renesas,riic-rz" }, { /* Sentinel */ }, }; |