vfio/platform: Cleanup Kconfig
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 14 Jun 2023 19:39:47 +0000 (13:39 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 16 Jun 2023 18:23:50 +0000 (12:23 -0600)
commit8bee6f00fce25e7a0db85cbb52b19d729d28273e
tree5a4f51d1a7064415c0d3a92f199a5800f1c8b44e
parent8cc75183b78e91455a03ad3a1a68cd0612f66446
vfio/platform: Cleanup Kconfig

Like vfio-pci, there's also a base module here where vfio-amba depends on
vfio-platform, when really it only needs vfio-platform-base.  Create a
sub-menu for platform drivers and a nested menu for reset drivers.  Cleanup
Makefile to make use of new CONFIG_VFIO_PLATFORM_BASE for building the
shared modules and traversing reset modules.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20230614193948.477036-3-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Makefile
drivers/vfio/platform/Kconfig
drivers/vfio/platform/Makefile
drivers/vfio/platform/reset/Kconfig