ACPICA: Linux header: Add support for stubbed externals.
authorLv Zheng <lv.zheng@intel.com>
Wed, 30 Apr 2014 02:05:15 +0000 (10:05 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 May 2014 22:55:01 +0000 (00:55 +0200)
commit42873a84a22f6ee089b720c817bb61aebeff6e0d
tree00ac8126620c279df6006fa489bd65dd8f99d7b4
parent8b9c1152a018883f6f0b841e12e17671f2c64c32
ACPICA: Linux header: Add support for stubbed externals.

Linux wants to include all header files but leave empty inline
stub variables for a feature that is not configured during build.

This patch configures ACPICA external globals/macros/functions out and
defines them into no-op when CONFIG_ACPI is not enabled.  Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/platform/aclinux.h