From: Marc Kleine-Budde Date: Fri, 13 Jul 2012 13:04:24 +0000 (+0200) Subject: can: mpc5xxx_can: make data in mpc5xxx_can_probe const X-Git-Tag: next-20120725~11^2^2^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=107d5144cbfdffbe0e60c0c955a8521fa6779aa5;p=karo-tx-linux.git can: mpc5xxx_can: make data in mpc5xxx_can_probe const Signed-off-by: Marc Kleine-Budde Signed-off-by: Uwe Kleine-König --- diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c index 5caa572d71e3..06adf881ea24 100644 --- a/drivers/net/can/mscan/mpc5xxx_can.c +++ b/drivers/net/can/mscan/mpc5xxx_can.c @@ -251,7 +251,7 @@ static struct of_device_id mpc5xxx_can_table[]; static int __devinit mpc5xxx_can_probe(struct platform_device *ofdev) { const struct of_device_id *match; - struct mpc5xxx_can_data *data; + const struct mpc5xxx_can_data *data; struct device_node *np = ofdev->dev.of_node; struct net_device *dev; struct mscan_priv *priv;