* [PATCH]:Fix warning from drivers/pcmcia/at91_cf.c
@ 2009-08-11 9:01 vibi sreenivasan
0 siblings, 0 replies; only message in thread
From: vibi sreenivasan @ 2009-08-11 9:01 UTC (permalink / raw)
To: linux-next; +Cc: Andrew Victor, linux-arm-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-11 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-11 9:01 [PATCH]:Fix warning from drivers/pcmcia/at91_cf.c vibi sreenivasan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).