ACPI: fan: add missing MODULE_DESCRIPTION()
PATCH 1/1 ACPI: fan: add missing MODULE_DESCRIPTION()
modpost now warns about modules without a MODULE_DESCRIPTION macro.
Add one for the ACPI fan driver to silence the warning and provide
proper module metadata.
Signed-off-by George Karagounis <[email protected]>
--- drivers/acpi/fan_attr.c | 1 + 1 file changed, 1 insertion(+)
drivers/acpi/fan_attr.c +1 -0
@@ -15,6 +15,7 @@#include "fan.h" MODULE_LICENSE ("GPL" ); +MODULE_DESCRIPTION ("Extra sysfs attributes for the ACPI fan driver" );static ssize_t show_state (struct device *dev,struct device_attribute *attr,char *buf) {
Signature · 1 line
2.56.0
Quoted 17 lines · George Karagounis
modpost now warns about modules without a
MODULE_DESCRIPTIONmacro.Add one for the ACPI fan driver to silence the warning and provide
proper module metadata.
Signed-off-by George Karagounis <[email protected]>--- drivers/acpi/fan_attr.c | 1 + 1 file changed, 1 insertion(+)drivers/acpi/fan_attr.c +0
-0
drivers/acpi/fan_attr.c
Quoted 8 lines
drivers/acpi/fan_attr.c +1
-1@@ -15,6 +15,7 @@#include "fan.h" MODULE_LICENSE ("GPL" ); +MODULE_DESCRIPTION ("Extra sysfs attributes for the ACPI fan driver" );static ssize_t show_state (struct device *dev,struct device_attribute *attr,char *buf) { --
Applied as 7.5 material, thanks!