vfio: platform: determine reset capability
authorSinan Kaya <okaya@codeaurora.org>
Tue, 19 Jul 2016 13:01:43 +0000 (09:01 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 19 Jul 2016 16:26:40 +0000 (10:26 -0600)
commitdc5542fb115a9576493831160e31d355b58541d7
tree280cb0d20bfff27c45ef577322213e4baedde115
parentf084aa749537b818d5b234448e960a59836b39e3
vfio: platform: determine reset capability

Creating a new function to determine if this driver supports reset
function or not. This is an attempt to abstract device tree calls
from the rest of the code.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_platform_common.c