These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / maps / gpio-addr-flash.c
index 2fb3460..385305e 100644 (file)
@@ -266,7 +266,7 @@ static int gpio_flash_probe(struct platform_device *pdev)
                kfree(state);
                return -ENXIO;
        }
-
+       state->mtd->dev.parent = &pdev->dev;
 
        mtd_device_parse_register(state->mtd, part_probe_types, NULL,
                                  pdata->parts, pdata->nr_parts);