From: Jon Loeliger Date: Tue, 15 Jan 2008 13:34:21 -0600 Subject: [U-Boot-Users] [PATCH] pcmcia: Remove CONFIG_COMMANDS from marubun pcmcia driver In-Reply-To: <20080116024624.35b534ba.iwamatsu@nigauri.org> References: <20080116024624.35b534ba.iwamatsu@nigauri.org> Message-ID: <1200425660.14540.18.camel@ld0161-tx32> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2008-01-15 at 11:46, Nobuhiro Iwamatsu wrote: > Signed-off-by: Nobuhiro Iwamatsu > --- > drivers/pcmcia/marubun_pcmcia.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/pcmcia/marubun_pcmcia.c b/drivers/pcmcia/marubun_pcmcia.c > index 7b112af..2479a66 100644 > --- a/drivers/pcmcia/marubun_pcmcia.c > +++ b/drivers/pcmcia/marubun_pcmcia.c > @@ -25,11 +25,13 @@ > #include > #include > > -#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) > +#undef CONFIG_PCMCIA > + > +#if defined(CONFIG_CMD_PCMCIA) > #define CONFIG_PCMCIA > #endif > > -#if (CONFIG_COMMANDS & CFG_CMD_IDE) > +#if defined(CONFIG_CMD_IDE) > #define CONFIG_PCMCIA > #endif > Amen-brother-by: Jon Loeliger Oh, and, a "git grep CONFIG_COMMANDS" reveals that there are a few other lingering instances of this bug around. jdl