diff options
author | Eric Auger <eric.auger@linaro.org> | 2015-11-03 21:12:18 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-11-03 22:55:05 +0300 |
commit | 705e60bae3e09bedba0b2ec936bce3f799f46426 (patch) | |
tree | ab602112e5d9ae894bdbd7bf7963250541e2a24c /drivers/vfio/platform/vfio_platform_private.h | |
parent | e9e0506ee60dd79714c59457f4301c602786defc (diff) | |
download | linux-705e60bae3e09bedba0b2ec936bce3f799f46426.tar.xz |
vfio: platform: add dev_info on device reset
It might be helpful for the end-user to check the device reset
function was found by the vfio platform reset framework.
Lets store a pointer to the struct device in vfio_platform_device
and trace when the reset function is called or not found.
Signed-off-by: Eric Auger <eric.auger@linaro.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 d1b0668fe394..42816dd280cb 100644 --- a/drivers/vfio/platform/vfio_platform_private.h +++ b/drivers/vfio/platform/vfio_platform_private.h @@ -59,6 +59,7 @@ struct vfio_platform_device { struct module *parent_module; const char *compat; struct module *reset_module; + struct device *device; /* * These fields should be filled by the bus specific binder |