diff options
Diffstat (limited to 'drivers/crypto/talitos.c')
-rw-r--r-- | drivers/crypto/talitos.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 6a0f59d1fc5c..637c105f53d2 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c | |||
@@ -2398,7 +2398,7 @@ static int talitos_probe(struct of_device *ofdev, | |||
2398 | const struct of_device_id *match) | 2398 | const struct of_device_id *match) |
2399 | { | 2399 | { |
2400 | struct device *dev = &ofdev->dev; | 2400 | struct device *dev = &ofdev->dev; |
2401 | struct device_node *np = ofdev->node; | 2401 | struct device_node *np = ofdev->dev.of_node; |
2402 | struct talitos_private *priv; | 2402 | struct talitos_private *priv; |
2403 | const unsigned int *prop; | 2403 | const unsigned int *prop; |
2404 | int i, err; | 2404 | int i, err; |
@@ -2573,8 +2573,11 @@ static const struct of_device_id talitos_match[] = { | |||
2573 | MODULE_DEVICE_TABLE(of, talitos_match); | 2573 | MODULE_DEVICE_TABLE(of, talitos_match); |
2574 | 2574 | ||
2575 | static struct of_platform_driver talitos_driver = { | 2575 | static struct of_platform_driver talitos_driver = { |
2576 | .name = "talitos", | 2576 | .driver = { |
2577 | .match_table = talitos_match, | 2577 | .name = "talitos", |
2578 | .owner = THIS_MODULE, | ||
2579 | .of_match_table = talitos_match, | ||
2580 | }, | ||
2578 | .probe = talitos_probe, | 2581 | .probe = talitos_probe, |
2579 | .remove = talitos_remove, | 2582 | .remove = talitos_remove, |
2580 | }; | 2583 | }; |