]> git.proxmox.com Git - qemu.git/commitdiff
xhci: add xhci_cap_write
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Apr 2013 09:29:14 +0000 (11:29 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Apr 2013 09:59:08 +0000 (11:59 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c

index c0dbc54e1a8c6f8f7dd9c23db52db492e024735a..7f740d9c6d59add6845b9d743238185350ce2aa4 100644 (file)
@@ -3079,8 +3079,15 @@ static void xhci_doorbell_write(void *ptr, hwaddr reg,
     }
 }
 
+static void xhci_cap_write(void *opaque, hwaddr addr, uint64_t val,
+                           unsigned width)
+{
+    /* nothing */
+}
+
 static const MemoryRegionOps xhci_cap_ops = {
     .read = xhci_cap_read,
+    .write = xhci_cap_write,
     .valid.min_access_size = 1,
     .valid.max_access_size = 4,
     .impl.min_access_size = 4,