Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9fddda232ca2de4d40ba9c3890e27bdb4f4f8bbd
Commit:     9fddda232ca2de4d40ba9c3890e27bdb4f4f8bbd
Parent:     94b1e96d9dfbb8cc19b09b68a3621243752c0586
Author:     Ben Dooks <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 8 00:08:33 2006 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri Dec 8 16:05:53 2006 +0000

    [ARM] 4004/1: S3C24XX: UDC remove implict addition of VA to regs
    
    Remove the implicit addition of a virtual address
    to the UDC registers. This should have been done
    by ioremap() in the driver, not by a static map.
    
    Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 include/asm-arm/arch-s3c2410/regs-udc.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/asm-arm/arch-s3c2410/regs-udc.h 
b/include/asm-arm/arch-s3c2410/regs-udc.h
index 487861d..3c83546 100644
--- a/include/asm-arm/arch-s3c2410/regs-udc.h
+++ b/include/asm-arm/arch-s3c2410/regs-udc.h
@@ -11,8 +11,7 @@
 #ifndef __ASM_ARCH_REGS_UDC_H
 #define __ASM_ARCH_REGS_UDC_H
 
-
-#define S3C2410_USBDREG(x) ((x) + S3C24XX_VA_USBDEV)
+#define S3C2410_USBDREG(x) (x)
 
 #define S3C2410_UDC_FUNC_ADDR_REG      S3C2410_USBDREG(0x0140)
 #define S3C2410_UDC_PWR_REG            S3C2410_USBDREG(0x0144)
@@ -136,8 +135,8 @@
 #define S3C2410_UDC_OCSR2_ISO          (1<<6) // R/W
 #define S3C2410_UDC_OCSR2_DMAIEN       (1<<5) // R/W
 
-#define S3C2410_UDC_SETIX(x)       \
-       __raw_writel(S3C2410_UDC_INDEX_ ## x, S3C2410_UDC_INDEX_REG);
+#define S3C2410_UDC_SETIX(base,x)          \
+       writel(S3C2410_UDC_INDEX_ ## x, base+S3C2410_UDC_INDEX_REG);
 
 
 #define S3C2410_UDC_EP0_CSR_OPKRDY     (1<<0)
-
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