From: Rafael J. Wysocki Date: Thu, 15 Nov 2012 12:15:37 +0000 (+0100) Subject: ACPI / PM: Fix build problem when CONFIG_ACPI or CONFIG_PM is not set X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5133375bb46a0d6c3fba07097caed7aa5e629ccd;p=pandora-kernel.git ACPI / PM: Fix build problem when CONFIG_ACPI or CONFIG_PM is not set Commit e5cc8ef (ACPI / PM: Provide ACPI PM callback routines for subsystems) introduced a build problem occuring if CONFIG_ACPI is unset or CONFIG_PM is unset and errno.h is not included before acpi.h, because in that case ENODEV used in acpi.h is undefined. Fix the issue by making acpi.h include errno.h. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed