pci: make pci_del_capability() update for w1cmask
commit1a4f5971b6f785db7cb2b964754d04103a0d2033
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 18 Oct 2010 03:17:42 +0000 (18 12:17 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 18 Oct 2010 06:07:01 +0000 (18 08:07 +0200)
tree0fe0a03c1deb6e9d070f581836599b5b0f2564fd
parent57c6db2e2dec77a60bcfe6f93d756653f444a1f2
pci: make pci_del_capability() update for w1cmask

Clear w1cmask when deleting a pci capability.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c