mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	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: Daniel Axtens <dja@axtens.net> Acked-by: Anssi Hannula <anssi.hannula@iki.fi> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
		
							parent
							
								
									542134c037
								
							
						
					
					
						commit
						56075f6072
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -32,10 +32,6 @@ | ||||||
| 
 | 
 | ||||||
| #ifdef CONFIG_HOLTEK_FF | #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: |  * These commands and parameters are currently known: | ||||||
|  * |  * | ||||||
|  | @ -223,3 +219,7 @@ static struct hid_driver holtek_driver = { | ||||||
| 	.probe = holtek_probe, | 	.probe = holtek_probe, | ||||||
| }; | }; | ||||||
| module_hid_driver(holtek_driver); | 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"); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Daniel Axtens
						Daniel Axtens