]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vfio: platform: introduce module_vfio_reset_handler macro
authorEric Auger <eric.auger@linaro.org>
Tue, 3 Nov 2015 18:12:14 +0000 (18:12 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 3 Nov 2015 19:54:59 +0000 (12:54 -0700)
commit588646529f2d09b723584d44ef0a8ab6ff2a690d
tree65168bc6a78e2bcc7419e5615f0d188d9e46af62
parente086497d313cbcffcdb5405a5a268961b53519b1
vfio: platform: introduce module_vfio_reset_handler macro

The module_vfio_reset_handler macro
- define a module alias
- implement module init/exit function which respectively registers
  and unregisters the reset function.

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_private.h