diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 2d9bc439d9a9..d1f9c87daa87 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -2463,7 +2463,7 @@ struct kvm_io_device *kvm_io_bus_find_dev(struct kvm_io_bus *bus, | |||
2463 | for (i = 0; i < bus->dev_count; i++) { | 2463 | for (i = 0; i < bus->dev_count; i++) { |
2464 | struct kvm_io_device *pos = bus->devs[i]; | 2464 | struct kvm_io_device *pos = bus->devs[i]; |
2465 | 2465 | ||
2466 | if (pos->in_range(pos, addr, len, is_write)) | 2466 | if (kvm_iodevice_in_range(pos, addr, len, is_write)) |
2467 | return pos; | 2467 | return pos; |
2468 | } | 2468 | } |
2469 | 2469 | ||