“b27b6d03f245e5eaf6473da58a2612077fb7cfe7”上不存在“drivers/gpio/gpio-davinci.c”
提交 f0a46297 编写于 作者: L Luis R. Rodriguez 提交者: Greg Kroah-Hartman

Documentation: clarify firmware_class provenance and why we can't rename the module

Clarify the provenance of the firmware loader firmware_class module name
and why we cannot rename the module in the future.
Reviewed-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Reviewed-by: NKees Cook <keescook@chromium.org>
Signed-off-by: NLuis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0b92d3f6
...@@ -72,9 +72,12 @@ the firmware requested, and establishes it in the device hierarchy by ...@@ -72,9 +72,12 @@ the firmware requested, and establishes it in the device hierarchy by
associating the device used to make the request as the device's parent. associating the device used to make the request as the device's parent.
The sysfs directory's file attributes are defined and controlled through The sysfs directory's file attributes are defined and controlled through
the new device's class (firmware_class) and group (fw_dev_attr_groups). the new device's class (firmware_class) and group (fw_dev_attr_groups).
This is actually where the original firmware_class.c file name comes from, This is actually where the original firmware_class module name came from,
as originally the only firmware loading mechanism available was the given that originally the only firmware loading mechanism available was the
mechanism we now use as a fallback mechanism. mechanism we now use as a fallback mechanism, which registers a struct class
firmware_class. Because the attributes exposed are part of the module name, the
module name firmware_class cannot be renamed in the future, to ensure backward
compatibility with old userspace.
To load firmware using the sysfs interface we expose a loading indicator, To load firmware using the sysfs interface we expose a loading indicator,
and a file upload firmware into: and a file upload firmware into:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册