mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maximilian Luz <luzmaximilian@gmail.com>
To: Hans de Goede <hdegoede@redhat.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Mark Gross <mgross@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/surface: SURFACE_PLATFORMS should depend on ACPI
Date: Wed, 16 Dec 2020 15:52:01 +0100	[thread overview]
Message-ID: <f36b67a2-71a2-6f00-1515-c8ce3e59d027@gmail.com> (raw)
In-Reply-To: <aa101c72-2d15-efa8-5b44-479315e24a93@redhat.com>

On 12/16/20 3:01 PM, Hans de Goede wrote:
> Hi,
> 
> On 12/16/20 2:37 PM, Geert Uytterhoeven wrote:
>> All Microsoft Surface platform-specific device drivers depend on ACPI,
>> but the gatekeeper symbol SURFACE_PLATFORMS does not.  Hence when the
>> user is configuring a kernel without ACPI support, he is still asked
>> about Microsoft Surface drivers, even though this question is
>> irrelevant.
>>
>> Fix this by moving the dependency on ACPI from the individual driver
>> symbols to SURFACE_PLATFORMS.
>>
>> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> 
> Thanks, patch looks good to me:
> 
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> 
> Maximilian, can I have your ack or reviewed-by for this
> (assuming you agree with this change) ?

Sure, looks good to me.

Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>

Regards,
Max

> 
> Regards,
> 
> Hans
> 
>> ---
> 
> 
>>   drivers/platform/surface/Kconfig | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/platform/surface/Kconfig b/drivers/platform/surface/Kconfig
>> index 33040b0b3b799c2d..2c941cdac9eedc6f 100644
>> --- a/drivers/platform/surface/Kconfig
>> +++ b/drivers/platform/surface/Kconfig
>> @@ -5,6 +5,7 @@
>>   
>>   menuconfig SURFACE_PLATFORMS
>>   	bool "Microsoft Surface Platform-Specific Device Drivers"
>> +	depends on ACPI
>>   	default y
>>   	help
>>   	  Say Y here to get to see options for platform-specific device drivers
>> @@ -29,20 +30,19 @@ config SURFACE3_WMI
>>   
>>   config SURFACE_3_BUTTON
>>   	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
>> -	depends on ACPI && KEYBOARD_GPIO && I2C
>> +	depends on KEYBOARD_GPIO && I2C
>>   	help
>>   	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
>>   
>>   config SURFACE_3_POWER_OPREGION
>>   	tristate "Surface 3 battery platform operation region support"
>> -	depends on ACPI && I2C
>> +	depends on I2C
>>   	help
>>   	  This driver provides support for ACPI operation
>>   	  region of the Surface 3 battery platform driver.
>>   
>>   config SURFACE_GPE
>>   	tristate "Surface GPE/Lid Support Driver"
>> -	depends on ACPI
>>   	depends on DMI
>>   	help
>>   	  This driver marks the GPEs related to the ACPI lid device found on
>> @@ -52,7 +52,7 @@ config SURFACE_GPE
>>   
>>   config SURFACE_PRO3_BUTTON
>>   	tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
>> -	depends on ACPI && INPUT
>> +	depends on INPUT
>>   	help
>>   	  This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
>>   
>>
> 

  reply	other threads:[~2020-12-16 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 13:37 Geert Uytterhoeven
2020-12-16 14:01 ` Hans de Goede
2020-12-16 14:52   ` Maximilian Luz [this message]
2021-01-04 11:50 ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f36b67a2-71a2-6f00-1515-c8ce3e59d027@gmail.com \
    --to=luzmaximilian@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgross@linux.intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome