mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-25 17:46:23 -05:00
mtd: nand: tmio_nand: show parent device in sysfs
Fix a bug where parent device symlinks aren't shown in sysfs. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
committed by
Brian Norris
parent
611425d337
commit
7b679053cd
@@ -382,6 +382,7 @@ static int tmio_probe(struct platform_device *dev)
|
||||
nand_chip = &tmio->chip;
|
||||
mtd->priv = nand_chip;
|
||||
mtd->name = "tmio-nand";
|
||||
mtd->dev.parent = &dev->dev;
|
||||
|
||||
tmio->ccr = devm_ioremap(&dev->dev, ccr->start, resource_size(ccr));
|
||||
if (!tmio->ccr)
|
||||
|
||||
Reference in New Issue
Block a user