mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	i2c: nomadik: Add missing sentinel to match table
The OF match table is not NULL-terminated.
Fix this by adding a sentinel to nmk_i2c_eyeq_match_table[].
Fixes: a0d15cc47f ("i2c: nomadik: switch from of_device_is_compatible() to of_match_device()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									7363f2d4c1
								
							
						
					
					
						commit
						5751eee5c6
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1075,6 +1075,7 @@ static const struct of_device_id nmk_i2c_eyeq_match_table[] = { | |||
| 		.compatible = "mobileye,eyeq6h-i2c", | ||||
| 		.data = (void *)NMK_I2C_EYEQ_FLAG_32B_BUS, | ||||
| 	}, | ||||
| 	{ /* sentinel */ } | ||||
| }; | ||||
| 
 | ||||
| static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Geert Uytterhoeven
						Geert Uytterhoeven