summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2008-02-13 04:56:59 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-13 17:16:35 +0100
commit282ea441e003f2886893ab7bb60bfe29399ef7be (patch)
tree27cd6ec7492f14201250f1c2a81d203f317cc1d4 /drivers
parentdm-raid1 breakage on 64bit (diff)
downloadlinux-282ea441e003f2886893ab7bb60bfe29399ef7be.tar.xz
linux-282ea441e003f2886893ab7bb60bfe29399ef7be.zip
drivers/memstick/host/tifm_ms.c breakage
writel(sock + ...) that should've been writel(sock->addr + ...) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/memstick/host/tifm_ms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c
index f55b71a4337d..4fb24215bd95 100644
--- a/drivers/memstick/host/tifm_ms.c
+++ b/drivers/memstick/host/tifm_ms.c
@@ -282,7 +282,7 @@ static int tifm_ms_issue_cmd(struct tifm_ms *host)
writel(TIFM_MS_SYS_LATCH
| readl(sock->addr + SOCK_MS_SYSTEM),
- sock + SOCK_MS_SYSTEM);
+ sock->addr + SOCK_MS_SYSTEM);
writel(0, sock->addr + SOCK_MS_DATA);
dev_dbg(&sock->dev, "writing %x\n", 0);