2021-11-13 08:06:25

by Thomas Weißschuh

[permalink] [raw]
Subject: [PATCH] platform/x86: dell-wmi-descriptor: disable by default

dell-wmi-descriptor only provides symbols to other drivers.
These drivers already select dell-wmi-descriptor when needed.

This fixes an issue where dell-wmi-descriptor is compiled as a module
with localyesconfig on a non-Dell machine.

Signed-off-by: Thomas Weißschuh <[email protected]>
---
drivers/platform/x86/dell/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/dell/Kconfig b/drivers/platform/x86/dell/Kconfig
index 821aba31821c..dbc71a936339 100644
--- a/drivers/platform/x86/dell/Kconfig
+++ b/drivers/platform/x86/dell/Kconfig
@@ -187,7 +187,7 @@ config DELL_WMI_AIO

config DELL_WMI_DESCRIPTOR
tristate
- default m
+ default n
depends on ACPI_WMI

config DELL_WMI_LED

base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
--
2.33.1



2021-11-16 09:58:33

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] platform/x86: dell-wmi-descriptor: disable by default

Hi,

On 11/13/21 09:05, Thomas Weißschuh wrote:
> dell-wmi-descriptor only provides symbols to other drivers.
> These drivers already select dell-wmi-descriptor when needed.
>
> This fixes an issue where dell-wmi-descriptor is compiled as a module
> with localyesconfig on a non-Dell machine.
>
> Signed-off-by: Thomas Weißschuh <[email protected]>

Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans


> ---
> drivers/platform/x86/dell/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/dell/Kconfig b/drivers/platform/x86/dell/Kconfig
> index 821aba31821c..dbc71a936339 100644
> --- a/drivers/platform/x86/dell/Kconfig
> +++ b/drivers/platform/x86/dell/Kconfig
> @@ -187,7 +187,7 @@ config DELL_WMI_AIO
>
> config DELL_WMI_DESCRIPTOR
> tristate
> - default m
> + default n
> depends on ACPI_WMI
>
> config DELL_WMI_LED
>
> base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
>