Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7829ab93 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: nand: mpc5121_nfc: show parent device in sysfs



Fix a bug where parent device symlinks aren't shown in sysfs.

Signed-off-by: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 52364683
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -659,6 +659,7 @@ static int mpc5121_nfc_probe(struct platform_device *op)
	chip = &prv->chip;

	mtd->priv = chip;
	mtd->dev.parent = dev;
	chip->priv = prv;
	prv->dev = dev;