From 6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 5 Apr 2013 11:29:14 +0200 Subject: xhci: add xhci_cap_write Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hw/usb/hcd-xhci.c') diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index c0dbc54e1a..7f740d9c6d 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -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, -- cgit v1.2.1