mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	HID: pxrc: constify fixed up report descriptor
Now that the HID core can handle const report descriptors, constify them where possible. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20240828-hid-const-fixup-2-v1-10-663b9210eb69@weissschuh.net Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
This commit is contained in:
		
							parent
							
								
									88ae9ffc7c
								
							
						
					
					
						commit
						4211f9b112
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -17,7 +17,7 @@ struct pxrc_priv { | |||
| 	bool alternate; | ||||
| }; | ||||
| 
 | ||||
| static __u8 pxrc_rdesc_fixed[] = { | ||||
| static const __u8 pxrc_rdesc_fixed[] = { | ||||
| 	0x05, 0x01,        // Usage Page (Generic Desktop Ctrls)
 | ||||
| 	0x09, 0x04,        // Usage (Joystick)
 | ||||
| 	0xA1, 0x01,        // Collection (Application)
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Thomas Weißschuh
						Thomas Weißschuh