diff options
author | Eric Auger <eric.auger@linaro.org> | 2015-06-15 11:09:43 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-06-22 17:35:22 +0200 |
commit | 813ae66008aeb97a48f20efefeb962179b642dbe (patch) | |
tree | abc7911b21ac87c15f8614d5618e680456b0309c /drivers/gpio/gpio-generic.c | |
parent | VFIO: platform: add reset struct and lookup table (diff) | |
download | linux-813ae66008aeb97a48f20efefeb962179b642dbe.tar.xz linux-813ae66008aeb97a48f20efefeb962179b642dbe.zip |
VFIO: platform: add reset callback
A new reset callback is introduced. If this callback is populated,
the reset is invoked on device first open/last close or upon userspace
ioctl. The modality is exposed on VFIO_DEVICE_GET_INFO.
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Acked-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Tested-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/gpio/gpio-generic.c')
0 files changed, 0 insertions, 0 deletions