can: mpc5xxx_can: make data in mpc5xxx_can_probe const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 13 Jul 2012 12:54:59 +0000 (14:54 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 17 Jul 2012 07:35:59 +0000 (09:35 +0200)
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@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;