ACPI: prevent randconfig build failure on empty ACPI_CUSTOM_DSDT_FILE
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 22 Feb 2008 19:25:04 +0000 (11:25 -0800)
committerLen Brown <len.brown@intel.com>
Sat, 23 Feb 2008 05:15:11 +0000 (00:15 -0500)
commit7ce9573e093891f5807e6e50f3bd2012f1e5d0fe
tree0bf9bfdf828b57e35171e543e02e68de1c9cadb3
parent39273b58a409cd6d65c9732bdca00bacd1626672
ACPI: prevent randconfig build failure on empty ACPI_CUSTOM_DSDT_FILE

Make ACPI_CUSTOM_DSDT boolean config symbol a hidden and derived
value, based on the value of ACPI_CUSTOM_DSDT_FILE (string).
Only the latter is presented to the user as a config option.

This fixes problems with "make randconfig" setting ACPI_CUSTOM_DSDT
but leaving ACPI_CUSTOM_DSDT_FILE empty/blank.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Kconfig