Skip to contentSkip to conversation

ACPI: fan: add missing MODULE_DESCRIPTION()

PATCH Applied George Karagounis 2 participants 2 messages Oct 27 – Nov 9 ACPI

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/acpi/fan_attr.c | 1 +
 1 file changed, 1 insertion(+)
drivers/acpi/fan_attr.c +1 -0
index 9b7fa52f3c2a..6b3d91c14f5c 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 17 lines · George Karagounis

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.

---
 drivers/acpi/fan_attr.c | 1 +
 1 file changed, 1 insertion(+)
drivers/acpi/fan_attr.c +0 -0
index 9b7fa52f3c2a..6b3d91c14f5c 100644

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!