From: Jaehoon Chung Date: Mon, 27 Nov 2017 16:38:02 +0900 Subject: [U-Boot] [PATCH] mmc: sanitize includes for DM i2c In-Reply-To: <1507734328-9622-1-git-send-email-fb@ltec.ch> References: <1507734328-9622-1-git-send-email-fb@ltec.ch> Message-ID: <4e0693ba-eab0-8640-2e26-26a4073f0841@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/12/2017 12:05 AM, Felix Brack wrote: > 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 Applied to u-boot-mmc. Sorry for late. Best Regards, Jaehoon Chung > --- > > drivers/mmc/omap_hsmmc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c > index efa4389..30443d1 100644 > --- a/drivers/mmc/omap_hsmmc.c > +++ b/drivers/mmc/omap_hsmmc.c > @@ -28,9 +28,9 @@ > #include > #include > #include > -#include > -#include > +#if defined(CONFIG_OMAP54XX) || defined(CONFIG_OMAP44XX) > #include > +#endif > #include > #include > #if !defined(CONFIG_SOC_KEYSTONE) >