summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nsxfobj.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-10-29 09:29:51 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-31 14:34:00 +0100
commit839e928f5bbb695c31ddc23cf3fae3cf1c9e9f20 (patch)
tree78e5b5c52a00cdca1c0136cc499e73a3e727c191 /drivers/acpi/acpica/nsxfobj.c
parente07fcfd89f9bbbc5f655b85b70e6f9b0bb626bac (diff)
ACPICA: Add EXPORT_ACPI_INTERFACES macro to external interface modules.
For Linux, there are no functional changes/binary generation differences introduced by this patch. This change adds a new macro to all files that contain external ACPICA interfaces. It can be detected and used by the host (via the host-specific header) for any special processing required for such modules. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nsxfobj.c')
-rw-r--r--drivers/acpi/acpica/nsxfobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsxfobj.c b/drivers/acpi/acpica/nsxfobj.c
index c0853ef294e4..94e961cf6294 100644
--- a/drivers/acpi/acpica/nsxfobj.c
+++ b/drivers/acpi/acpica/nsxfobj.c
@@ -42,7 +42,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#include <linux/export.h>
+#define EXPORT_ACPI_INTERFACES
+
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"