From: Gerd Hoffmann Date: Fri, 5 Apr 2013 09:29:14 +0000 (+0200) Subject: xhci: add xhci_cap_write X-Git-Tag: v1.5.0-rc0~249^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda;p=thirdparty%2Fqemu.git xhci: add xhci_cap_write Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index c0dbc54e1a8..7f740d9c6d5 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,