summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRyota Ozaki <ozaki.ryota@gmail.com>2013-02-04 10:35:30 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-02-04 10:37:01 +1030
commit0d34cc2d6d904e2d0160e42734bccc1cb391cec0 (patch)
tree2c4d910400687a4f7d6c3926ad11800e1fba0fdc /drivers
parent1f8051876a194d7f7fe7834d9853f240d6b4b9ab (diff)
virtio-mmio: fix wrong comment about register offset
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/virtio/virtio_mmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index 31f966f4d27f..833e6dbf38db 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -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