Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6b8777b46823fb0b42fba69b5311682124e5a71c
Commit:     6b8777b46823fb0b42fba69b5311682124e5a71c
Parent:     2848e647402719d4a8d03141361caed60f2668da
Author:     Vladimir Barinov <[EMAIL PROTECTED]>
AuthorDate: Thu Mar 29 16:29:20 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri Mar 30 16:56:05 2007 +0100

    [ARM] 4296/1: ixp4xx: compile fix
    
    Fix compilation fail for ixp4xx platforms for the case when 
CONFIG_IXP4XX_INDIRECT_PCI is set. That is due to the check_signature() is 
appeared in include/linux/io.h.
    
    Signed-off-by: Vladimir Barinov <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 include/asm-arm/arch-ixp4xx/io.h |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/include/asm-arm/arch-ixp4xx/io.h b/include/asm-arm/arch-ixp4xx/io.h
index b7b5414..a41ba22 100644
--- a/include/asm-arm/arch-ixp4xx/io.h
+++ b/include/asm-arm/arch-ixp4xx/io.h
@@ -238,23 +238,6 @@ __ixp4xx_readsl(const volatile void __iomem *bus_addr, u32 
*vaddr, u32 count)
 #define memcpy_fromio(a,c,l)           _memcpy_fromio((a),(c),(l))
 #define memcpy_toio(c,a,l)             _memcpy_toio((c),(a),(l))
 
-static inline int
-check_signature(const unsigned char __iomem *bus_addr, const unsigned char 
*signature,
-               int length)
-{
-       int retval = 0;
-       do {
-               if (readb(bus_addr) != *signature)
-                       goto out;
-               bus_addr++;
-               signature++;
-               length--;
-       } while (length);
-       retval = 1;
-out:
-       return retval;
-}
-
 #endif
 
 #ifndef CONFIG_PCI
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to