]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/video/fsl-diu-fb.c
of: Always use 'struct device.of_node' to get device node pointer.
[mirror_ubuntu-bionic-kernel.git] / drivers / video / fsl-diu-fb.c
index 994358a4f30298d9684148db609a8c15723de82c..930a2522a63123a1ee97e181ca6471de14b187a0 100644 (file)
@@ -1421,7 +1421,7 @@ static ssize_t show_monitor(struct device *device,
 static int __devinit fsl_diu_probe(struct of_device *ofdev,
        const struct of_device_id *match)
 {
-       struct device_node *np = ofdev->node;
+       struct device_node *np = ofdev->dev.of_node;
        struct mfb_info *mfbi;
        phys_addr_t dummy_ad_addr;
        int ret, i, error = 0;