X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH 2/2] platform/x86: Drop duplicate dependencies on X86
@ 2016-05-26  9:43 Jean Delvare
  2016-06-08 20:21 ` Darren Hart
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2016-05-26  9:43 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: Darren Hart

The whole menu depends on X86 so there is no point in repeating this
dependency on individual driver entries.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Darren Hart <dvhart@infradead.org>
---
 drivers/platform/x86/Kconfig |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--- linux-4.6.orig/drivers/platform/x86/Kconfig	2016-05-26 11:18:50.029103790 +0200
+++ linux-4.6/drivers/platform/x86/Kconfig	2016-05-26 11:35:23.704400044 +0200
@@ -103,7 +103,6 @@ config DELL_SMBIOS
 
 config DELL_LAPTOP
 	tristate "Dell Laptop Extras"
-	depends on X86
 	depends on DMI
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
@@ -751,7 +750,7 @@ config TOSHIBA_WMI
 
 config ACPI_CMPC
 	tristate "CMPC Laptop Extras"
-	depends on X86 && ACPI
+	depends on ACPI
 	depends on RFKILL || RFKILL=n
 	select INPUT
 	select BACKLIGHT_CLASS_DEVICE
@@ -850,7 +849,7 @@ config INTEL_IMR
 
 config IBM_RTL
 	tristate "Device driver to enable PRTL support"
-	depends on X86 && PCI
+	depends on PCI
 	---help---
 	 Enable support for IBM Premium Real Time Mode (PRTM).
 	 This module will allow you the enter and exit PRTM in the BIOS via
@@ -884,7 +883,6 @@ config XO15_EBOOK
 
 config SAMSUNG_LAPTOP
 	tristate "Samsung Laptop driver"
-	depends on X86
 	depends on RFKILL || RFKILL = n
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
 	depends on BACKLIGHT_CLASS_DEVICE


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] platform/x86: Drop duplicate dependencies on X86
  2016-05-26  9:43 [PATCH 2/2] platform/x86: Drop duplicate dependencies on X86 Jean Delvare
@ 2016-06-08 20:21 ` Darren Hart
  2016-06-15  8:35   ` Jean Delvare
  0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2016-06-08 20:21 UTC (permalink / raw)
  To: Jean Delvare; +Cc: platform-driver-x86

On Thu, May 26, 2016 at 11:43:23AM +0200, Jean Delvare wrote:
> The whole menu depends on X86 so there is no point in repeating this
> dependency on individual driver entries.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Darren Hart <dvhart@infradead.org>
> ---
>  drivers/platform/x86/Kconfig |    6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> --- linux-4.6.orig/drivers/platform/x86/Kconfig	2016-05-26 11:18:50.029103790 +0200
> +++ linux-4.6/drivers/platform/x86/Kconfig	2016-05-26 11:35:23.704400044 +0200
> @@ -103,7 +103,6 @@ config DELL_SMBIOS
>  
>  config DELL_LAPTOP
>  	tristate "Dell Laptop Extras"
> -	depends on X86
>  	depends on DMI
>  	depends on BACKLIGHT_CLASS_DEVICE
>  	depends on ACPI_VIDEO || ACPI_VIDEO = n
> @@ -751,7 +750,7 @@ config TOSHIBA_WMI
>  
>  config ACPI_CMPC
>  	tristate "CMPC Laptop Extras"
> -	depends on X86 && ACPI
> +	depends on ACPI
>  	depends on RFKILL || RFKILL=n
>  	select INPUT
>  	select BACKLIGHT_CLASS_DEVICE
> @@ -850,7 +849,7 @@ config INTEL_IMR
>  
>  config IBM_RTL
>  	tristate "Device driver to enable PRTL support"
> -	depends on X86 && PCI
> +	depends on PCI
>  	---help---
>  	 Enable support for IBM Premium Real Time Mode (PRTM).
>  	 This module will allow you the enter and exit PRTM in the BIOS via
> @@ -884,7 +883,6 @@ config XO15_EBOOK
>  
>  config SAMSUNG_LAPTOP
>  	tristate "Samsung Laptop driver"
> -	depends on X86
>  	depends on RFKILL || RFKILL = n
>  	depends on ACPI_VIDEO || ACPI_VIDEO = n
>  	depends on BACKLIGHT_CLASS_DEVICE
> 

Was there a reason you omitted removing the X86 depends from SENSORS_HDAPS and
INTEL_PMC_CORE?

I've dropped these as well and queued this for 4.8, please let me know if you
deliberately left these in.

-- 
Darren Hart
Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] platform/x86: Drop duplicate dependencies on X86
  2016-06-08 20:21 ` Darren Hart
@ 2016-06-15  8:35   ` Jean Delvare
  0 siblings, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2016-06-15  8:35 UTC (permalink / raw)
  To: Darren Hart; +Cc: platform-driver-x86

Hi Darren,

On Wed, 8 Jun 2016 13:21:29 -0700, Darren Hart wrote:
> On Thu, May 26, 2016 at 11:43:23AM +0200, Jean Delvare wrote:
> > The whole menu depends on X86 so there is no point in repeating this
> > dependency on individual driver entries.
> > 
> > Signed-off-by: Jean Delvare <jdelvare@suse.de>
> > Cc: Darren Hart <dvhart@infradead.org>
> > ---
> >  drivers/platform/x86/Kconfig |    6 ++----
> >  1 file changed, 2 insertions(+), 4 deletions(-)
> > 
> > --- linux-4.6.orig/drivers/platform/x86/Kconfig	2016-05-26 11:18:50.029103790 +0200
> > +++ linux-4.6/drivers/platform/x86/Kconfig	2016-05-26 11:35:23.704400044 +0200
> > @@ -103,7 +103,6 @@ config DELL_SMBIOS
> >  
> >  config DELL_LAPTOP
> >  	tristate "Dell Laptop Extras"
> > -	depends on X86
> >  	depends on DMI
> >  	depends on BACKLIGHT_CLASS_DEVICE
> >  	depends on ACPI_VIDEO || ACPI_VIDEO = n
> > @@ -751,7 +750,7 @@ config TOSHIBA_WMI
> >  
> >  config ACPI_CMPC
> >  	tristate "CMPC Laptop Extras"
> > -	depends on X86 && ACPI
> > +	depends on ACPI
> >  	depends on RFKILL || RFKILL=n
> >  	select INPUT
> >  	select BACKLIGHT_CLASS_DEVICE
> > @@ -850,7 +849,7 @@ config INTEL_IMR
> >  
> >  config IBM_RTL
> >  	tristate "Device driver to enable PRTL support"
> > -	depends on X86 && PCI
> > +	depends on PCI
> >  	---help---
> >  	 Enable support for IBM Premium Real Time Mode (PRTM).
> >  	 This module will allow you the enter and exit PRTM in the BIOS via
> > @@ -884,7 +883,6 @@ config XO15_EBOOK
> >  
> >  config SAMSUNG_LAPTOP
> >  	tristate "Samsung Laptop driver"
> > -	depends on X86
> >  	depends on RFKILL || RFKILL = n
> >  	depends on ACPI_VIDEO || ACPI_VIDEO = n
> >  	depends on BACKLIGHT_CLASS_DEVICE
> > 
> 
> Was there a reason you omitted removing the X86 depends from SENSORS_HDAPS and
> INTEL_PMC_CORE?

INTEL_PMC_CORE did not exist in the tree I was working on. For
SENSORS_HDAPS, probably I stupidly grepped for "depends on X86" and
that did not catch SENSORS_HDAPS because X86 was listed as a second
dependency on the same line there.

> I've dropped these as well and queued this for 4.8, please let me know if you
> deliberately left these in.

You did well, thank you.

-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-15  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-26  9:43 [PATCH 2/2] platform/x86: Drop duplicate dependencies on X86 Jean Delvare
2016-06-08 20:21 ` Darren Hart
2016-06-15  8:35   ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox