mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00: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:
parent
611425d337
commit
7b679053cd
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue