diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2023-06-14 21:39:47 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-06-16 20:23:50 +0200 |
commit | 8bee6f00fce25e7a0db85cbb52b19d729d28273e (patch) | |
tree | 5a4f51d1a7064415c0d3a92f199a5800f1c8b44e /drivers/vfio/platform/reset/Kconfig | |
parent | vfio/pci: Cleanup Kconfig (diff) | |
download | linux-8bee6f00fce25e7a0db85cbb52b19d729d28273e.tar.xz linux-8bee6f00fce25e7a0db85cbb52b19d729d28273e.zip |
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>
Diffstat (limited to 'drivers/vfio/platform/reset/Kconfig')
-rw-r--r-- | drivers/vfio/platform/reset/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/vfio/platform/reset/Kconfig b/drivers/vfio/platform/reset/Kconfig index 12f5f3d80387..dcc08dc145a5 100644 --- a/drivers/vfio/platform/reset/Kconfig +++ b/drivers/vfio/platform/reset/Kconfig @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only +if VFIO_PLATFORM config VFIO_PLATFORM_CALXEDAXGMAC_RESET tristate "VFIO support for calxeda xgmac reset" help @@ -21,3 +22,4 @@ config VFIO_PLATFORM_BCMFLEXRM_RESET Enables the VFIO platform driver to handle reset for Broadcom FlexRM If you don't know what to do here, say N. +endif |