virtio-mmio: fix wrong comment about register offset
authorRyota Ozaki <ozaki.ryota@gmail.com>
Mon, 4 Feb 2013 00:05:30 +0000 (10:35 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2013 00:07:01 +0000 (10:37 +1030)
The register offset of InterruptACK is 0x064, not 0x060.
Fix it.

Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
CC: Jiri Kosina <trivial@kernel.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_mmio.c

index 31f966f4d27f6800899fa8cad4b6e390fd497003..833e6dbf38dbaadb3b24ccc33f2198dbcfc94a46 100644 (file)
@@ -75,7 +75,7 @@
  *
  * 0x050  W  QueueNotify      Queue notifier
  * 0x060  R  InterruptStatus  Interrupt status register
- * 0x060  W  InterruptACK     Interrupt acknowledge register
+ * 0x064  W  InterruptACK     Interrupt acknowledge register
  * 0x070  RW Status           Device status register
  *
  * 0x100+ RW                  Device-specific configuration space