From: Marc Kleine-Budde Date: Fri, 13 Jul 2012 12:54:59 +0000 (+0200) Subject: can: mpc5xxx_can: make data in mpc5xxx_can_probe const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e84eb0b8a04b95b66aae652f947cbadffc6a25c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git can: mpc5xxx_can: make data in mpc5xxx_can_probe const Acked-by: Uwe Kleine-König Signed-off-by: Marc Kleine-Budde --- 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;