vfio: platform: add support for ACPI probe
authorSinan Kaya <okaya@codeaurora.org>
Tue, 19 Jul 2016 13:01:44 +0000 (09:01 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 19 Jul 2016 16:26:41 +0000 (10:26 -0600)
commita12a9368e192d56175e49d69360d861025a0f6f7
tree79fc72bc9350f516664ebc434c2acdd11192c2ca
parentdc5542fb115a9576493831160e31d355b58541d7
vfio: platform: add support for ACPI probe

The code is using the compatible DT string to associate a reset driver
with the actual device itself. The compatible string does not exist on
ACPI based systems. HID is the unique identifier for a device driver
instead.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_platform_common.c
drivers/vfio/platform/vfio_platform_private.h