]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
can: mpc5xxx_can: make data in mpc5xxx_can_probe const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 13 Jul 2012 13:04:24 +0000 (15:04 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 24 Jul 2012 06:41:39 +0000 (08:41 +0200)
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/net/can/mscan/mpc5xxx_can.c

index 5caa572d71e3bbf2babd6c9e918950dd159765ce..06adf881ea24b39fef1401b40db6b5a5a88410d3 100644 (file)
@@ -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;