diff mbox

platform/x86: Add rfkill dependency to ACPI_TOSHIBA entry

Message ID 1450123259-2638-1-git-send-email-coproscefalo@gmail.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Azael Avalos Dec. 14, 2015, 8 p.m. UTC
Commit 2fdde83443aa ("toshiba_acpi: Add WWAN RFKill support") added
WWAN rfkill support to the driver, but the KConfig entry was not
updated to add the RFKill dependency, causing a broken build if
RFKill is not selected.

This patch adds the RFKILL dependency to the KConfig entry, fixing
the build issue.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
---
 drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Darren Hart Dec. 14, 2015, 11:46 p.m. UTC | #1
On Mon, Dec 14, 2015 at 01:00:59PM -0700, Azael Avalos wrote:
> Commit 2fdde83443aa ("toshiba_acpi: Add WWAN RFKill support") added
> WWAN rfkill support to the driver, but the KConfig entry was not
> updated to add the RFKill dependency, causing a broken build if
> RFKill is not selected.
> 
> This patch adds the RFKILL dependency to the KConfig entry, fixing
> the build issue.
> 
> Signed-off-by: Azael Avalos <coproscefalo@gmail.com>

Queued, thanks!
diff mbox

Patch

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 1089eaa..25a02f9 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -641,6 +641,7 @@  config ACPI_TOSHIBA
 	depends on INPUT
 	depends on SERIO_I8042 || SERIO_I8042 = n
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
+	depends on RFKILL || RFKILL = n
 	select INPUT_POLLDEV
 	select INPUT_SPARSEKMAP
 	---help---