i2c: robotfuzz-osif: Constify osif_table
osif_table is never modified, so declare it as const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
		
							parent
							
								
									27bfeb5a06
								
							
						
					
					
						commit
						33c77abcf4
					
				@ -125,7 +125,7 @@ static struct i2c_algorithm osif_algorithm = {
 | 
			
		||||
#define USB_OSIF_VENDOR_ID	0x1964
 | 
			
		||||
#define USB_OSIF_PRODUCT_ID	0x0001
 | 
			
		||||
 | 
			
		||||
static struct usb_device_id osif_table[] = {
 | 
			
		||||
static const struct usb_device_id osif_table[] = {
 | 
			
		||||
	{ USB_DEVICE(USB_OSIF_VENDOR_ID, USB_OSIF_PRODUCT_ID) },
 | 
			
		||||
	{ }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user