summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/bcm47xxpart.c
diff options
context:
space:
mode:
authorZhuohao Lee <zhuohao@chromium.org>2019-07-01 00:07:10 +0800
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-08-29 10:36:47 +0300
commit1018c94be6ea073115f6bcf993d6492138d2b8e3 (patch)
tree95f2fc85c3b5bd0bdb8088d9be61edad62b68d0f /drivers/mtd/bcm47xxpart.c
parent7ae2227b1c1928cfc8220ca6383c757b185fcf32 (diff)
downloadlinux-1018c94be6ea073115f6bcf993d6492138d2b8e3.tar.gz
linux-1018c94be6ea073115f6bcf993d6492138d2b8e3.tar.bz2
linux-1018c94be6ea073115f6bcf993d6492138d2b8e3.zip
mtd: mtdcore: add debugfs nodes for querying the flash name and id
Currently, we don't have vfs nodes for querying the underlying flash name and flash id. This information is important especially when we want to know the flash detail of the defective system. In order to support the query, we add mtd_debugfs_populate() to create two debugfs nodes (ie. partname and partid). The upper driver can assign the pointer to partname and partid before calling mtd_device_register(). Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/mtd/bcm47xxpart.c')
0 files changed, 0 insertions, 0 deletions