diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-13 14:54:59 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-17 09:35:59 +0200 |
commit | 0e84eb0b8a04b95b66aae652f947cbadffc6a25c (patch) | |
tree | 4d7bfdbbca35776858a6ff93bd59987ed74aabe1 /drivers/net/can/mscan | |
parent | dda0b3bd1cbb66ee869d589f7d719f703d7c38a1 (diff) | |
download | blackbird-op-linux-0e84eb0b8a04b95b66aae652f947cbadffc6a25c.tar.gz blackbird-op-linux-0e84eb0b8a04b95b66aae652f947cbadffc6a25c.zip |
can: mpc5xxx_can: make data in mpc5xxx_can_probe const
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/mscan')
-rw-r--r-- | drivers/net/can/mscan/mpc5xxx_can.c | 2 |
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 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; |