ABI: sysfs-devices: add /dev ABI
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 27 Sep 2021 13:59:38 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Sep 2021 10:48:15 +0000 (12:48 +0200)
Changeset 23681e479129 ("[PATCH] Driver core: allow struct device to have a dev_t")
added a /dev ABI for /sys/devices. Document it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/bef678e68d1ac8ac504ed6e09f22105b787c877c.1632750608.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/stable/sysfs-devices

index 42bf1eab5677ba462e05d3f68954dd013e2dfeb7..98a8ef99ac5f791996b1f013f8aeb02e9d01f7cc 100644 (file)
@@ -23,3 +23,10 @@ Contact:     Device Tree mailing list <devicetree@vger.kernel.org>
 Description:
                If CONFIG_OF is enabled, then this file is present. When
                read, it returns full name of the device node.
+
+What:          /sys/devices/*/dev
+Date:          Jun 2006
+Contact:       Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Description:
+               Major and minor numbers of the character device corresponding
+               to the device (in <major>:<minor> format).