diff options
-rw-r--r-- | drivers/net/can/softing/softing_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index 65eef1eea2e2..6cd5c01b624d 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -768,7 +768,7 @@ static int softing_pdev_remove(struct platform_device *pdev) | |||
768 | 768 | ||
769 | static int softing_pdev_probe(struct platform_device *pdev) | 769 | static int softing_pdev_probe(struct platform_device *pdev) |
770 | { | 770 | { |
771 | const struct softing_platform_data *pdat = pdev->dev.platform_data; | 771 | const struct softing_platform_data *pdat = dev_get_platdata(&pdev->dev); |
772 | struct softing *card; | 772 | struct softing *card; |
773 | struct net_device *netdev; | 773 | struct net_device *netdev; |
774 | struct softing_priv *priv; | 774 | struct softing_priv *priv; |