Commit 6b84d7d5 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] pcbit fix

direct dereferencing of iomem pointer.
[not sure who maintains that one, so no Cc]
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eddf9c9d
......@@ -859,7 +859,7 @@ static int set_protocol_running(struct pcbit_dev * dev)
printk(KERN_DEBUG "Bank3 = %02x\n",
readb(dev->sh_mem + BANK3));
#endif
*(dev->sh_mem + BANK4) = 0x40U;
writeb(0x40, dev->sh_mem + BANK4);
/* warn the upper layer */
ctl.driver = dev->id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment