mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mtd: nand: gpmi-nand: show parent device in sysfs
Fix a bug where parent device symlinks aren't shown in sysfs. While at it, make use of the default owner set by mtdcore. Signed-off-by: Frans Klaver <[email protected]> Signed-off-by: Brian Norris <[email protected]>
This commit is contained in:
parent
ddece7b6a6
commit
4dc67b1d50
1 changed files with 1 additions and 1 deletions
|
|
@ -1897,7 +1897,7 @@ static int gpmi_nand_init(struct gpmi_nand_data *this)
|
|||
/* init the MTD data structures */
|
||||
mtd->priv = chip;
|
||||
mtd->name = "gpmi-nand";
|
||||
mtd->owner = THIS_MODULE;
|
||||
mtd->dev.parent = this->dev;
|
||||
|
||||
/* init the nand_chip{}, we don't support a 16-bit NAND Flash bus. */
|
||||
chip->priv = this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue