mtd: part: Add sysfs variable for offset of partition
authorDan Ehrenberg <dehrenberg@chromium.org>
Thu, 2 Apr 2015 22:15:11 +0000 (15:15 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 6 Apr 2015 00:44:02 +0000 (17:44 -0700)
commita62c24d75529118d10c45350c3b75715d52ff574
tree6c18ffa557b84ff94dd6dedce302a556766decf7
parent727dc612c46b8f3858537ea23805b3e897cf127e
mtd: part: Add sysfs variable for offset of partition

This patch makes a sysfs variable called 'offset' on each partition
which contains the offset in bytes from the beginning of the master
device that the partition starts.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/ABI/testing/sysfs-class-mtd
drivers/mtd/mtdpart.c
This page took 0.029333 seconds and 5 git commands to generate.