]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/crypto/talitos.c
Merge remote branch 'origin' into secretlab/next-devicetree
[linux-imx.git] / drivers / crypto / talitos.c
index 6a0f59d1fc5c4e834aaf90006ca30c7e35f8cdd9..637c105f53d262f904230c77b5bc5a5a5234fda7 100644 (file)
@@ -2398,7 +2398,7 @@ static int talitos_probe(struct of_device *ofdev,
                         const struct of_device_id *match)
 {
        struct device *dev = &ofdev->dev;
-       struct device_node *np = ofdev->node;
+       struct device_node *np = ofdev->dev.of_node;
        struct talitos_private *priv;
        const unsigned int *prop;
        int i, err;
@@ -2573,8 +2573,11 @@ static const struct of_device_id talitos_match[] = {
 MODULE_DEVICE_TABLE(of, talitos_match);
 
 static struct of_platform_driver talitos_driver = {
-       .name = "talitos",
-       .match_table = talitos_match,
+       .driver = {
+               .name = "talitos",
+               .owner = THIS_MODULE,
+               .of_match_table = talitos_match,
+       },
        .probe = talitos_probe,
        .remove = talitos_remove,
 };