* [PATCH] ACPI: fan: add missing MODULE_DESCRIPTION()
@ 2026-10-27 16:16 George Karagounis
0 siblings, 0 replies; only message in thread
From: George Karagounis @ 2026-10-27 16:16 UTC (permalink / raw)
To: Rafael J . Wysocki; +Cc: Len Brown, linux-acpi, linux-kernel, mail
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 <mail@taterr.org>
---
drivers/acpi/fan_attr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/acpi/fan_attr.c b/drivers/acpi/fan_attr.c
index 9b7fa52f3c2a..6b3d91c14f5c 100644
--- a/drivers/acpi/fan_attr.c
+++ b/drivers/acpi/fan_attr.c
@@ -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)
{
--
2.56.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 16:16 [PATCH] ACPI: fan: add missing MODULE_DESCRIPTION() George Karagounis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®