forked from mirrors/linux
		
	HID: intel-ish-hid: hid-client: only load for matching devices
Previously it was loaded for all ISHTP devices. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
		
							parent
							
								
									44e2a58cb8
								
							
						
					
					
						commit
						0d0cccc0fd
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -952,6 +952,12 @@ static struct ishtp_cl_driver	hid_ishtp_cl_driver = { | |||
| 	.driver.pm = &hid_ishtp_pm_ops, | ||||
| }; | ||||
| 
 | ||||
| static const struct ishtp_device_id hid_ishtp_id_table[] = { | ||||
| 	{ hid_ishtp_guid }, | ||||
| 	{ } | ||||
| }; | ||||
| MODULE_DEVICE_TABLE(ishtp, hid_ishtp_id_table); | ||||
| 
 | ||||
| static int __init ish_hid_init(void) | ||||
| { | ||||
| 	int	rv; | ||||
|  | @ -981,4 +987,3 @@ MODULE_AUTHOR("Daniel Drubin <daniel.drubin@intel.com>"); | |||
| MODULE_AUTHOR("Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>"); | ||||
| 
 | ||||
| MODULE_LICENSE("GPL"); | ||||
| MODULE_ALIAS("ishtp:*"); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Thomas Weißschuh
						Thomas Weißschuh