From: vibi sreenivasan <vibi_sreenivasan@cms.com>
To: linux-next@vger.kernel.org
Cc: Andrew Victor <linux@maxim.org.za>,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: [PATCH]:Fix warning from drivers/pcmcia/at91_cf.c
Date: Tue, 11 Aug 2009 14:31:41 +0530 [thread overview]
Message-ID: <1249981301.13065.2.camel@HunTEr> (raw)
Patch Fixes the following warning
drivers/pcmcia/at91_cf.c:55:1: warning: "SZ_2K" redefined
In file included from
arch/arm/mach-at91/include/mach/hardware.h:17,
from
arch/arm/mach-at91/include/mach/memory.h:24,
from /media/skub/linux-git-wkg/linux-git/linux-next/arch/arm/include/asm/memory.h:18,
from /media/skub/linux-git-wkg/linux-git/linux-next/arch/arm/include/asm/page.h:197,
from include/linux/mmzone.h:20,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from drivers/pcmcia/at91_cf.c:12:
/media/skub/linux-git-wkg/linux-git/linux-next/arch/arm/include/asm/sizes.h:32:1: warning: this is the location of the previous definition
Signed-off-by: vibi sreenivasan, CMS COMPUTERS LTD, INDIA
<vibi_sreenivasan@cms.com>
---
drivers/pcmcia/at91_cf.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c
index 9e1140f..a5a7842 100644
--- a/drivers/pcmcia/at91_cf.c
+++ b/drivers/pcmcia/at91_cf.c
@@ -52,7 +52,6 @@ struct at91_cf_socket {
unsigned long phys_baseaddr;
};
-#define SZ_2K (2 * SZ_1K)
static inline int at91_cf_present(struct at91_cf_socket *cf)
{
--
1.6.3.3
reply other threads:[~2009-08-11 15:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1249981301.13065.2.camel@HunTEr \
--to=vibi_sreenivasan@cms.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-next@vger.kernel.org \
--cc=linux@maxim.org.za \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.