From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Date: Thu, 11 Oct 2007 14:11:44 -0600 Subject: [U-Boot-Users] [PATCH] fix specific ssi.h include when ds1722 or mw_eeprom not used In-Reply-To: <1192091549-25875-25-git-send-email-plagnioj@jcrosoft.com> References: <1192091549-25875-1-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-17-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-18-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-19-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-20-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-21-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-22-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-23-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-24-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-25-git-send-email-plagnioj@jcrosoft.com> Message-ID: 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/11/07, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > drivers/eeprom/mw_eeprom.c | 4 ++-- > drivers/hwmon/ds1722.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/eeprom/mw_eeprom.c b/drivers/eeprom/mw_eeprom.c > index 2a1f489..2b33488 100644 > --- a/drivers/eeprom/mw_eeprom.c > +++ b/drivers/eeprom/mw_eeprom.c > @@ -1,11 +1,11 @@ > /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */ > > #include > -#include > - > > #ifdef CONFIG_MW_EEPROM > > +#include > + Unless this fixes a compile bug, this change isn't worth it right now. The CONFIG_MW_EEPROM macro is going to go away very soon. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely at secretlab.ca (403) 399-0195