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:
5e50a52
)
mtd: maps: ixp4xx: show parent device in sysfs
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:27 +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/ixp4xx.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/ixp4xx.c
b/drivers/mtd/maps/ixp4xx.c
index b4430741024e728444b9e96426d4dbb6192d5669..e3180d5aa06a0fb4fd09e842d01939164373520f 100644
(file)
--- a/
drivers/mtd/maps/ixp4xx.c
+++ b/
drivers/mtd/maps/ixp4xx.c
@@
-226,7
+226,7
@@
static int ixp4xx_flash_probe(struct platform_device *dev)
err = -ENXIO;
goto Error;
}
- info->mtd->
owner = THIS_MODULE
;
+ info->mtd->
dev.parent = &dev->dev
;
/* Use the fast version */
info->map.write = ixp4xx_write16;