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

From: Randy Dunlap
Date: Sun May 22 2011 - 20:38:37 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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 <randy.dunlap@xxxxxxxxxx>
Cc: Mike Waychison <mikew@xxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/