summaryrefslogtreecommitdiffstats
path: root/drivers/reset/sti/reset-stih407.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 20:54:37 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-08-03 13:13:50 +0200
commita518db45c2580fd726f6578539482596f46a8219 (patch)
treec8d06330238a453c3280cd1e5ccad7a7c8deb61f /drivers/reset/sti/reset-stih407.c
parentefdf5aa8f175c18def6407bb2b51643e4da88259 (diff)
downloadop-kernel-dev-a518db45c2580fd726f6578539482596f46a8219.zip
op-kernel-dev-a518db45c2580fd726f6578539482596f46a8219.tar.gz
reset: sti: 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> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Acked-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/sti/reset-stih407.c')
-rw-r--r--drivers/reset/sti/reset-stih407.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/sti/reset-stih407.c b/drivers/reset/sti/reset-stih407.c
index f7a6cb0..827eb3d 100644
--- a/drivers/reset/sti/reset-stih407.c
+++ b/drivers/reset/sti/reset-stih407.c
@@ -126,7 +126,7 @@ static const struct syscfg_reset_controller_data stih407_picophyreset_controller
.channels = stih407_picophyresets,
};
-static struct of_device_id stih407_reset_match[] = {
+static const struct of_device_id stih407_reset_match[] = {
{
.compatible = "st,stih407-powerdown",
.data = &stih407_powerdown_controller,
OpenPOWER on IntegriCloud