summaryrefslogtreecommitdiff
path: root/source/include/platform
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2013-09-18 14:26:21 -0700
committerRobert Moore <Robert.Moore@intel.com>2013-09-18 14:26:21 -0700
commit68be8c5b8db438f6f21e0b029480a6a5b644d9b1 (patch)
tree0bbc4ff9367247f8531dfdeffeee0195ea52b0b6 /source/include/platform
parent57bdfbee675cd2c0618c66882d68a6bdf9f8efc4 (diff)
downloadacpica-68be8c5b8db438f6f21e0b029480a6a5b644d9b1.tar.gz
Add EXPORT_ACPI_INTERFACES macro to external interface modules.
This change adds this 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.
Diffstat (limited to 'source/include/platform')
-rw-r--r--source/include/platform/aclinux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/platform/aclinux.h b/source/include/platform/aclinux.h
index deb3e5032..dbb878d4f 100644
--- a/source/include/platform/aclinux.h
+++ b/source/include/platform/aclinux.h
@@ -257,6 +257,10 @@ static inline void acpi_os_free(void *a)
lock ? AE_OK : AE_NO_MEMORY; \
})
+#ifdef EXPORT_ACPI_INTERFACES
+#include <linux/export.h>
+#endif
+
#endif /* __KERNEL__ */
#endif /* __ACLINUX_H__ */