Subject: [PATCH -next] firmware: fix GOOGLE_SMI kconfig dependency warning

From: Randy Dunlap <[email-masked]>
Date: Sun, 22 May 2011 17:38:02 -0700

From: Randy Dunlap <[email-masked]>

Is it meaningful/useful to enable EFI_VARS but not EFI?
That's what GOOGLE_SMI does.  Make it enable EFI also.

Fixes this kconfig dependency warning:

warning: (GOOGLE_SMI) selects EFI_VARS which has unmet direct dependencies (EFI)

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: Mike Waychison <[email-masked]>
---
 drivers/firmware/google/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20110520.orig/drivers/firmware/google/Kconfig
+++ linux-next-20110520/drivers/firmware/google/Kconfig
@@ -13,6 +13,7 @@ menu "Google Firmware Drivers"
 config GOOGLE_SMI
 	tristate "SMI interface for Google platforms"
 	depends on ACPI && DMI
+	select EFI
 	select EFI_VARS
 	help
 	  Say Y here if you want to enable SMI callbacks for Google