2024-05-10 01:24:00

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION()

Fix the make W=1 warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/macintosh/mac_hid.o

Signed-off-by: Jeff Johnson <[email protected]>
---
drivers/macintosh/mac_hid.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
index 1ae3539beff5..eb7a173da071 100644
--- a/drivers/macintosh/mac_hid.c
+++ b/drivers/macintosh/mac_hid.c
@@ -16,6 +16,7 @@
#include <linux/module.h>
#include <linux/slab.h>

+MODULE_DESCRIPTION("Macintosh mouse button 2+3 emulation");
MODULE_LICENSE("GPL");

static int mouse_emulate_buttons;

---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240509-mac_hid-md-7df0c349753c