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:
28bc740
)
mtd: maps: intel_vr_nor: show parent device in sysfs
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:26 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:19 +0000
(12:56 -0700)
Fix a bug where mtd parent device symlinks aren't shown in sysfs.
While at it, make use of the default owner value set by mtdcore.
Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/intel_vr_nor.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/intel_vr_nor.c
b/drivers/mtd/maps/intel_vr_nor.c
index 5ab71f0e1bcd6e3b4ae279aeded4e8c980bc9524..8bf79775e7c1abb8b5652008c48f6179029f79cd 100644
(file)
--- a/
drivers/mtd/maps/intel_vr_nor.c
+++ b/
drivers/mtd/maps/intel_vr_nor.c
@@
-90,7
+90,7
@@
static int vr_nor_mtd_setup(struct vr_nor_mtd *p)
if (!p->info)
return -ENODEV;
- p->info->
owner = THIS_MODULE
;
+ p->info->
dev.parent = &p->dev->dev
;
return 0;
}