vfio: platform: reset: calxedaxgmac: add reset function registration
commit680742f644be61657f82d43a2c2fff0489d4a579
authorEric Auger <eric.auger@linaro.org>
Tue, 3 Nov 2015 18:12:15 +0000 (3 18:12 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 3 Nov 2015 19:55:00 +0000 (3 12:55 -0700)
treea3fb38d87ebad6fbc327a5559bcc7656bb14c8dc
parent588646529f2d09b723584d44ef0a8ab6ff2a690d
vfio: platform: reset: calxedaxgmac: add reset function registration

This patch adds the reset function registration/unregistration.
This is handled through the module_vfio_reset_handler macro. This
latter also defines a MODULE_ALIAS which simplifies the load from
vfio-platform.

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/reset/vfio_platform_calxedaxgmac.c