projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6031a9c
)
mtd: nand: fsl_upm: show parent device in sysfs
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:46 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:47 +0000
(12:56 -0700)
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 <fransklaver@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsl_upm.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/fsl_upm.c
b/drivers/mtd/nand/fsl_upm.c
index 72755d7ec25d750a90a9b933a60fb8aa74eb6326..d326369980c4811b780d864c46a1f737f305edac 100644
(file)
--- a/
drivers/mtd/nand/fsl_upm.c
+++ b/
drivers/mtd/nand/fsl_upm.c
@@
-176,7
+176,7
@@
static int fun_chip_init(struct fsl_upm_nand *fun,
fun->chip.dev_ready = fun_chip_ready;
fun->mtd.priv = &fun->chip;
- fun->mtd.
owner = THIS_MODULE
;
+ fun->mtd.
dev.parent = fun->dev
;
flash_np = of_get_next_child(upm_np, NULL);
if (!flash_np)