summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/platform/vfio_platform_private.h
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2016-07-19 09:01:44 -0400
committerAlex Williamson <alex.williamson@redhat.com>2016-07-19 10:26:41 -0600
commita12a9368e192d56175e49d69360d861025a0f6f7 (patch)
tree79fc72bc9350f516664ebc434c2acdd11192c2ca /drivers/vfio/platform/vfio_platform_private.h
parentdc5542fb115a9576493831160e31d355b58541d7 (diff)
downloadlinux-a12a9368e192d56175e49d69360d861025a0f6f7.tar.bz2
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>
Diffstat (limited to 'drivers/vfio/platform/vfio_platform_private.h')
-rw-r--r--drivers/vfio/platform/vfio_platform_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/platform/vfio_platform_private.h b/drivers/vfio/platform/vfio_platform_private.h
index 71ed7d1c1b7d..ba9e4f8b0746 100644
--- a/drivers/vfio/platform/vfio_platform_private.h
+++ b/drivers/vfio/platform/vfio_platform_private.h
@@ -58,6 +58,7 @@ struct vfio_platform_device {
struct mutex igate;
struct module *parent_module;
const char *compat;
+ const char *acpihid;
struct module *reset_module;
struct device *device;