[PATCH][PPC32] Fix ebony build warnings

From: Geoff Levand
Date: Tue Jan 11 2005 - 15:40:04 EST


ebony-fix-warnings-05.01.11.patch:

This patch fixes some 'makes pointer from integer without a cast' build
warnings for ebony.

Signed-off-by: Geoff Levand <geoffrey.levand@xxxxxxxxxxx> for CELF
---

ebony.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.10.orig/arch/ppc/platforms/4xx/ebony.c 2004-12-24 13:35:40.000000000 -0800
+++ fixed/arch/ppc/platforms/4xx/ebony.c 2005-01-11 12:27:13.253449121 -0800
@@ -179,7 +179,7 @@
}

#define PCIX_WRITEL(value, offset) \
- (writel(value, (u32)pcix_reg_base+offset))
+ (writel(value, (void*)((u32)pcix_reg_base+offset)))

/*
* FIXME: This is only here to "make it work". This will move

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/