Thread (4 messages) 4 messages, 4 authors, 2017-12-01

Re: [PATCH] HID: holtekff: move MODULE_* parameters out of #ifdef block

From: Jiri Kosina <jikos@kernel.org>
Date: 2017-12-01 08:53:17

On Sun, 26 Nov 2017, Daniel Axtens wrote:
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: Daniel Axtens <redacted>
Applied to for-4.15/upstream-fixes. Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help