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