summaryrefslogtreecommitdiff
path: root/drivers/net/can/mscan/mpc5xxx_can.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-17 21:40:24 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-17 22:00:23 +0300
commit486e957033623656298a07c39a8bf2fd81db285b (patch)
treef1c176dcdf6af8607dfc72e5960567bc047bf3f6 /drivers/net/can/mscan/mpc5xxx_can.c
parentd8a7dadbdfde042c07599e8ac90c7718aef76da7 (diff)
downloadlinux-486e957033623656298a07c39a8bf2fd81db285b.tar.xz
can: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/mscan/mpc5xxx_can.c')
-rw-r--r--drivers/net/can/mscan/mpc5xxx_can.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c
index ad024e60ba8c..c7427bdd3a4b 100644
--- a/drivers/net/can/mscan/mpc5xxx_can.c
+++ b/drivers/net/can/mscan/mpc5xxx_can.c
@@ -43,7 +43,7 @@ struct mpc5xxx_can_data {
};
#ifdef CONFIG_PPC_MPC52xx
-static struct of_device_id mpc52xx_cdm_ids[] = {
+static const struct of_device_id mpc52xx_cdm_ids[] = {
{ .compatible = "fsl,mpc5200-cdm", },
{}
};