Skip to content
Commit 0d818706 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio: don't fail on !of_device_is_compatible



A recent change checking of_device_is_compatible on probe broke some
powerpc/pseries setups. Apparently there virtio devices do not have a
"compatible" property - they are matched by PCI vendor/device ids.

Let's just skip of_node setup but proceed with initialization like we
did previously.

Fixes: 694a1116 ("virtio: Bind virtio device to device-tree node")
Reported-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 6880fa6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment