Commit dda0b3bd authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: flexcan: make flexcan_priv.devtype_data member point to const data

Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 6ba6047b
...@@ -192,7 +192,7 @@ struct flexcan_priv { ...@@ -192,7 +192,7 @@ struct flexcan_priv {
struct clk *clk; struct clk *clk;
struct flexcan_platform_data *pdata; struct flexcan_platform_data *pdata;
struct flexcan_devtype_data *devtype_data; const struct flexcan_devtype_data *devtype_data;
}; };
static struct flexcan_devtype_data fsl_p1010_devtype_data = { static struct flexcan_devtype_data fsl_p1010_devtype_data = {
...@@ -960,7 +960,7 @@ static const struct platform_device_id flexcan_id_table[] = { ...@@ -960,7 +960,7 @@ static const struct platform_device_id flexcan_id_table[] = {
static int __devinit flexcan_probe(struct platform_device *pdev) static int __devinit flexcan_probe(struct platform_device *pdev)
{ {
const struct of_device_id *of_id; const struct of_device_id *of_id;
struct flexcan_devtype_data *devtype_data; const struct flexcan_devtype_data *devtype_data;
struct net_device *dev; struct net_device *dev;
struct flexcan_priv *priv; struct flexcan_priv *priv;
struct resource *mem; struct resource *mem;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment