diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-07-19 16:01:44 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-07-19 19:26:41 +0300 |
commit | a12a9368e192d56175e49d69360d861025a0f6f7 (patch) | |
tree | 79fc72bc9350f516664ebc434c2acdd11192c2ca /drivers/vfio/platform/vfio_platform_private.h | |
parent | dc5542fb115a9576493831160e31d355b58541d7 (diff) | |
download | linux-a12a9368e192d56175e49d69360d861025a0f6f7.tar.xz |
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.h | 1 |
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; |