Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56075f60 authored by Daniel Axtens's avatar Daniel Axtens Committed by Jiri Kosina
Browse files

HID: holtekff: move MODULE_* parameters out of #ifdef block



If you compile with:
CONFIG_HID_HOLTEK=m
CONFIG_HOLTEK_FF is not set

You get the following warning:
WARNING: modpost: missing MODULE_LICENSE() in drivers/hid/hid-holtekff.o
see include/linux/module.h for more information

Fix this by moving the module info out of the #ifdef CONFIG_HOLTEK_FF
block and into the un-guarded part of the file.

Signed-off-by: default avatarDaniel Axtens <dja@axtens.net>
Acked-by: default avatarAnssi Hannula <anssi.hannula@iki.fi>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 542134c0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -32,10 +32,6 @@

#ifdef CONFIG_HOLTEK_FF

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Anssi Hannula <anssi.hannula@iki.fi>");
MODULE_DESCRIPTION("Force feedback support for Holtek On Line Grip based devices");

/*
 * These commands and parameters are currently known:
 *
@@ -223,3 +219,7 @@ static struct hid_driver holtek_driver = {
	.probe = holtek_probe,
};
module_hid_driver(holtek_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Anssi Hannula <anssi.hannula@iki.fi>");
MODULE_DESCRIPTION("Force feedback support for Holtek On Line Grip based devices");