Skip to content

Commit cb028f7

Browse files
tdzgregkh
authored andcommitted
hv: Select CONFIG_SYSFB only for CONFIG_HYPERV_VMBUS
commit d33db95 upstream. Hyperv's sysfb access only exists in the VMBUS support. Therefore only select CONFIG_SYSFB for CONFIG_HYPERV_VMBUS. Avoids sysfb code on systems that don't need it. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 9695928 ("Drivers: hv: Always select CONFIG_SYSFB for Hyper-V guests") Cc: Michael Kelley <mhklinux@outlook.com> Cc: Saurabh Sengar <ssengar@linux.microsoft.com> Cc: Wei Liu <wei.liu@kernel.org> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Dexuan Cui <decui@microsoft.com> Cc: Long Li <longli@microsoft.com> Cc: linux-hyperv@vger.kernel.org Cc: <stable@vger.kernel.org> # v6.16+ Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com> Link: https://patch.msgid.link/20260402092305.208728-2-tzimmermann@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5b95882 commit cb028f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hv/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ config HYPERV
99
select PARAVIRT
1010
select X86_HV_CALLBACK_VECTOR if X86
1111
select OF_EARLY_FLATTREE if OF
12-
select SYSFB if EFI && !HYPERV_VTL_MODE
1312
select IRQ_MSI_LIB if X86
1413
help
1514
Select this option to run Linux as a Hyper-V client operating
@@ -61,6 +60,7 @@ config HYPERV_VMBUS
6160
tristate "Microsoft Hyper-V VMBus driver"
6261
depends on HYPERV
6362
default HYPERV
63+
select SYSFB if EFI && !HYPERV_VTL_MODE
6464
help
6565
Select this option to enable Hyper-V Vmbus driver.
6666

0 commit comments

Comments
 (0)