platform/x86: Drop duplicate dependencies on X86
PATCH 2/2 platform/x86: Drop duplicate dependencies on X86
The whole menu depends on X86 so there is no point in repeating this dependency on individual driver entries.
--- drivers/platform/x86/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/platform/x86/Kconfig +2 -4
@@ -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
Signature · 2 lines
Jean Delvare SUSE L3 Support
Quoted 39 lines · Jean Delvare
The whole menu depends on X86 so there is no point in repeating this dependency on individual driver entries.
Signed-off-by Jean Delvare <[email protected]>Cc Darren Hart <[email protected]>--- drivers/platform/x86/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/platform/x86/Kconfig +2
-3@@ -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
drivers/platform/x86/Kconfig config XO15_EBOOK · line 888
Quoted 7 lines
drivers/platform/x86/Kconfig +0
-1@@ -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.
Signature · 2 lines
Darren Hart Intel Open Source Technology Center
Hi Darren,
Quoted 40 lines · Darren Hart
Quoted 39 lines · Jean Delvare
The whole menu depends on X86 so there is no point in repeating this dependency on individual driver entries.
Signed-off-by Jean Delvare <[email protected]>Cc Darren Hart <[email protected]>--- drivers/platform/x86/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/platform/x86/Kconfig +2
-3@@ -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
Quoted 10 lines
drivers/platform/x86/Kconfig config XO15_EBOOK · line 888
Quoted 7 lines
drivers/platform/x86/Kconfig +0
-1config 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_DEVICEWas there a reason you omitted removing the X86 depends from
SENSORS_HDAPSandINTEL_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.
Quoted 2 lines
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.
Signature · 2 lines
Jean Delvare SUSE L3 Support