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

Commit 3aed61d1 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: lpddr: show parent device in sysfs



Fix a bug where mtd 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 90b99752
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -460,6 +460,7 @@ static int lpddr2_nvm_probe(struct platform_device *pdev)

	/* Populate mtd_info data structure */
	*mtd = (struct mtd_info) {
		.dev		= { .parent = &pdev->dev },
		.name		= pdev->dev.init_name,
		.type		= MTD_RAM,
		.priv		= map,