Эх сурвалжийг харах

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.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Jean Delvare 9 жил өмнө
parent
commit
25789f95a8

+ 4 - 6
drivers/platform/x86/Kconfig

@@ -103,7 +103,6 @@ config DELL_SMBIOS
 
 
 config DELL_LAPTOP
 config DELL_LAPTOP
 	tristate "Dell Laptop Extras"
 	tristate "Dell Laptop Extras"
-	depends on X86
 	depends on DELL_SMBIOS
 	depends on DELL_SMBIOS
 	depends on DMI
 	depends on DMI
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on BACKLIGHT_CLASS_DEVICE
@@ -505,7 +504,7 @@ config THINKPAD_ACPI_HOTKEY_POLL
 
 
 config SENSORS_HDAPS
 config SENSORS_HDAPS
 	tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
 	tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
-	depends on INPUT && X86
+	depends on INPUT
 	select INPUT_POLLDEV
 	select INPUT_POLLDEV
 	default n
 	default n
 	help
 	help
@@ -749,7 +748,7 @@ config TOSHIBA_WMI
 
 
 config ACPI_CMPC
 config ACPI_CMPC
 	tristate "CMPC Laptop Extras"
 	tristate "CMPC Laptop Extras"
-	depends on X86 && ACPI
+	depends on ACPI
 	depends on RFKILL || RFKILL=n
 	depends on RFKILL || RFKILL=n
 	select INPUT
 	select INPUT
 	select BACKLIGHT_CLASS_DEVICE
 	select BACKLIGHT_CLASS_DEVICE
@@ -848,7 +847,7 @@ config INTEL_IMR
 
 
 config INTEL_PMC_CORE
 config INTEL_PMC_CORE
 	bool "Intel PMC Core driver"
 	bool "Intel PMC Core driver"
-	depends on X86 && PCI
+	depends on PCI
 	---help---
 	---help---
 	  The Intel Platform Controller Hub for Intel Core SoCs provides access
 	  The Intel Platform Controller Hub for Intel Core SoCs provides access
 	  to Power Management Controller registers via a PCI interface. This
 	  to Power Management Controller registers via a PCI interface. This
@@ -860,7 +859,7 @@ config INTEL_PMC_CORE
 
 
 config IBM_RTL
 config IBM_RTL
 	tristate "Device driver to enable PRTL support"
 	tristate "Device driver to enable PRTL support"
-	depends on X86 && PCI
+	depends on PCI
 	---help---
 	---help---
 	 Enable support for IBM Premium Real Time Mode (PRTM).
 	 Enable support for IBM Premium Real Time Mode (PRTM).
 	 This module will allow you the enter and exit PRTM in the BIOS via
 	 This module will allow you the enter and exit PRTM in the BIOS via
@@ -894,7 +893,6 @@ config XO15_EBOOK
 
 
 config SAMSUNG_LAPTOP
 config SAMSUNG_LAPTOP
 	tristate "Samsung Laptop driver"
 	tristate "Samsung Laptop driver"
-	depends on X86
 	depends on RFKILL || RFKILL = n
 	depends on RFKILL || RFKILL = n
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on BACKLIGHT_CLASS_DEVICE