mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] firmware/google: drop 'select EFI' to avoid recursive dependency
@ 2014-01-23 10:39 Ard Biesheuvel
  2014-01-23 21:36 ` David Rientjes
  0 siblings, 1 reply; 10+ messages in thread
From: Ard Biesheuvel @ 2014-01-23 10:39 UTC (permalink / raw)
  To: gregkh, akpm; +Cc: linux-kernel, Ard Biesheuvel

The GOOGLE_SMI Kconfig symbol depends on DMI and selects EFI. This
causes problems on other archs when introducing DMI support that
depends on EFI, as it results in a recursive dependency:

arch/arm/Kconfig:1845:error: recursive dependency detected!
arch/arm/Kconfig:1845:	symbol DMI depends on EFI

Fix by changing the 'select EFI' to a 'depends on EFI'.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 drivers/firmware/google/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/firmware/google/Kconfig b/drivers/firmware/google/Kconfig
index 2f21b0bfe653..29c8cdda82a1 100644
--- a/drivers/firmware/google/Kconfig
+++ b/drivers/firmware/google/Kconfig
@@ -12,8 +12,7 @@ menu "Google Firmware Drivers"
 
 config GOOGLE_SMI
 	tristate "SMI interface for Google platforms"
-	depends on ACPI && DMI
-	select EFI
+	depends on ACPI && DMI && EFI
 	select EFI_VARS
 	help
 	  Say Y here if you want to enable SMI callbacks for Google
-- 
1.8.3.2


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

end of thread, other threads:[~2014-01-24 23:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23 10:39 [PATCH] firmware/google: drop 'select EFI' to avoid recursive dependency Ard Biesheuvel
2014-01-23 21:36 ` David Rientjes
2014-01-23 21:40   ` Mike Waychison
2014-01-23 21:48     ` Ard Biesheuvel
2014-01-23 21:49   ` Andrew Morton
2014-01-23 22:45     ` David Rientjes
2014-01-24  0:02       ` Joe Perches
2014-01-24 10:27         ` David Rientjes
2014-01-24 22:56           ` Joe Perches
2014-01-24 23:17             ` David Rientjes

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

all inboxes | Powered by JetHome®