gpio: pca953x: Add missing i2c dependency
pca953x also depends on i2c that's why add dependency to Kconfig. Where GPIO is enabled but I2C compilation error pops up. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
		
							parent
							
								
									1ce892cb1c
								
							
						
					
					
						commit
						ca8bb0ccb7
					
				|  | @ -396,7 +396,7 @@ config DM_74X164 | ||||||
| 
 | 
 | ||||||
| config DM_PCA953X | config DM_PCA953X | ||||||
| 	bool "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" | 	bool "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" | ||||||
| 	depends on DM_GPIO | 	depends on DM_GPIO && DM_I2C | ||||||
| 	help | 	help | ||||||
| 	  Say yes here to provide access to several register-oriented | 	  Say yes here to provide access to several register-oriented | ||||||
| 	  SMBus I/O expanders, made mostly by NXP or TI.  Compatible | 	  SMBus I/O expanders, made mostly by NXP or TI.  Compatible | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue