mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
mtd: nand: mpc5121_nfc: 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
52364683d5
commit
7829ab93f1
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue