]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vfio: platform: add capability to register a reset function
authorEric Auger <eric.auger@linaro.org>
Tue, 3 Nov 2015 18:12:13 +0000 (18:12 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 3 Nov 2015 19:54:57 +0000 (12:54 -0700)
commite086497d313cbcffcdb5405a5a268961b53519b1
treeec06092fd1e05ceafe37be321dd4eb8c5e6f7f85
parent32a2d71c4e808b5aa6c414d4422b5e6c594c8805
vfio: platform: add capability to register a reset function

In preparation for subsequent changes in reset function lookup,
lets introduce a dynamic list of reset combos (compat string,
reset module, reset function). The list can be populated/voided with
vfio_platform_register/unregister_reset. Those are not yet used in
this patch.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_platform_common.c
drivers/vfio/platform/vfio_platform_private.h