diff options
author | Felix Brack <fb@ltec.ch> | 2017-10-11 17:05:28 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-12 18:11:03 +0900 |
commit | 339d578900edb03b633b3de4dad3da0aea2c1b15 (patch) | |
tree | 93e241f32e1380aa5cd6b30b90d2870651192da1 /drivers/mmc | |
parent | 0e1746acacbb6dcaa0e9205f2712faf9d1e321a0 (diff) |
mmc: sanitize includes for DM i2c
This patch fixes some warnings when building boards that do not define
DM_I2C_COMPAT i.e. boards that entirely rely on the new i2c layer.
Signed-off-by: Felix Brack <fb@ltec.ch>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/omap_hsmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index efa43896fc..30443d13a0 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -28,9 +28,9 @@ #include <mmc.h> #include <part.h> #include <i2c.h> -#include <twl4030.h> -#include <twl6030.h> +#if defined(CONFIG_OMAP54XX) || defined(CONFIG_OMAP44XX) #include <palmas.h> +#endif #include <asm/io.h> #include <asm/arch/mmc_host_def.h> #if !defined(CONFIG_SOC_KEYSTONE) |