2015-12-14 20:01:11

by Azael Avalos

[permalink] [raw]
Subject: [PATCH] platform/x86: Add rfkill dependency to ACPI_TOSHIBA entry

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 <[email protected]>
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

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---
--
2.6.3


2015-12-14 23:46:20

by Darren Hart

[permalink] [raw]
Subject: Re: [PATCH] platform/x86: Add rfkill dependency to ACPI_TOSHIBA entry

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 <[email protected]>

Queued, thanks!

--
Darren Hart
Intel Open Source Technology Center