diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/components/events/evxface.c | 1 | ||||
-rw-r--r-- | source/components/events/evxfevnt.c | 1 | ||||
-rw-r--r-- | source/components/events/evxfgpe.c | 1 | ||||
-rw-r--r-- | source/components/events/evxfregn.c | 1 | ||||
-rw-r--r-- | source/components/hardware/hwtimer.c | 2 | ||||
-rw-r--r-- | source/components/hardware/hwxface.c | 2 | ||||
-rw-r--r-- | source/components/hardware/hwxfsleep.c | 2 | ||||
-rw-r--r-- | source/components/namespace/nsxfeval.c | 1 | ||||
-rw-r--r-- | source/components/namespace/nsxfname.c | 1 | ||||
-rw-r--r-- | source/components/namespace/nsxfobj.c | 1 | ||||
-rw-r--r-- | source/components/resources/rsxface.c | 1 | ||||
-rw-r--r-- | source/components/tables/tbxface.c | 1 | ||||
-rw-r--r-- | source/components/tables/tbxfload.c | 1 | ||||
-rw-r--r-- | source/components/utilities/utdebug.c | 1 | ||||
-rw-r--r-- | source/components/utilities/utexcep.c | 1 | ||||
-rw-r--r-- | source/components/utilities/utglobal.c | 1 | ||||
-rw-r--r-- | source/components/utilities/utxferror.c | 1 | ||||
-rw-r--r-- | source/include/platform/aclinux.h | 4 |
18 files changed, 24 insertions, 0 deletions
diff --git a/source/components/events/evxface.c b/source/components/events/evxface.c index c95667bf3..91bae8212 100644 --- a/source/components/events/evxface.c +++ b/source/components/events/evxface.c @@ -115,6 +115,7 @@ #define __EVXFACE_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/events/evxfevnt.c b/source/components/events/evxfevnt.c index 47273ce31..10780f365 100644 --- a/source/components/events/evxfevnt.c +++ b/source/components/events/evxfevnt.c @@ -115,6 +115,7 @@ #define __EVXFEVNT_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/events/evxfgpe.c b/source/components/events/evxfgpe.c index 4a756c946..9b4ce30c0 100644 --- a/source/components/events/evxfgpe.c +++ b/source/components/events/evxfgpe.c @@ -115,6 +115,7 @@ #define __EVXFGPE_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/events/evxfregn.c b/source/components/events/evxfregn.c index 12ec482eb..eefb11943 100644 --- a/source/components/events/evxfregn.c +++ b/source/components/events/evxfregn.c @@ -115,6 +115,7 @@ *****************************************************************************/ #define __EVXFREGN_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/hardware/hwtimer.c b/source/components/hardware/hwtimer.c index 80fd2aabb..c56ab98bf 100644 --- a/source/components/hardware/hwtimer.c +++ b/source/components/hardware/hwtimer.c @@ -113,6 +113,8 @@ * *****************************************************************************/ +#define EXPORT_ACPI_INTERFACES + #include "acpi.h" #include "accommon.h" diff --git a/source/components/hardware/hwxface.c b/source/components/hardware/hwxface.c index adf75ea8e..36f4e5cc3 100644 --- a/source/components/hardware/hwxface.c +++ b/source/components/hardware/hwxface.c @@ -113,6 +113,8 @@ * *****************************************************************************/ +#define EXPORT_ACPI_INTERFACES + #include "acpi.h" #include "accommon.h" #include "acnamesp.h" diff --git a/source/components/hardware/hwxfsleep.c b/source/components/hardware/hwxfsleep.c index b5ae31310..8369600c7 100644 --- a/source/components/hardware/hwxfsleep.c +++ b/source/components/hardware/hwxfsleep.c @@ -113,6 +113,8 @@ * *****************************************************************************/ +#define EXPORT_ACPI_INTERFACES + #include "acpi.h" #include "accommon.h" diff --git a/source/components/namespace/nsxfeval.c b/source/components/namespace/nsxfeval.c index dbfca6a81..9d2fac1c3 100644 --- a/source/components/namespace/nsxfeval.c +++ b/source/components/namespace/nsxfeval.c @@ -116,6 +116,7 @@ #define __NSXFEVAL_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/namespace/nsxfname.c b/source/components/namespace/nsxfname.c index 530d94ad1..a4bca315f 100644 --- a/source/components/namespace/nsxfname.c +++ b/source/components/namespace/nsxfname.c @@ -115,6 +115,7 @@ *****************************************************************************/ #define __NSXFNAME_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/namespace/nsxfobj.c b/source/components/namespace/nsxfobj.c index 147d02502..233ce26bd 100644 --- a/source/components/namespace/nsxfobj.c +++ b/source/components/namespace/nsxfobj.c @@ -116,6 +116,7 @@ #define __NSXFOBJ_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/resources/rsxface.c b/source/components/resources/rsxface.c index 0401b0d3b..1ae45b05b 100644 --- a/source/components/resources/rsxface.c +++ b/source/components/resources/rsxface.c @@ -115,6 +115,7 @@ #define __RSXFACE_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/tables/tbxface.c b/source/components/tables/tbxface.c index cbaad116b..de7a1e033 100644 --- a/source/components/tables/tbxface.c +++ b/source/components/tables/tbxface.c @@ -114,6 +114,7 @@ *****************************************************************************/ #define __TBXFACE_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/tables/tbxfload.c b/source/components/tables/tbxfload.c index 734d9a679..6392aa7e8 100644 --- a/source/components/tables/tbxfload.c +++ b/source/components/tables/tbxfload.c @@ -114,6 +114,7 @@ *****************************************************************************/ #define __TBXFLOAD_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c index c38ae95b1..af904accb 100644 --- a/source/components/utilities/utdebug.c +++ b/source/components/utilities/utdebug.c @@ -114,6 +114,7 @@ *****************************************************************************/ #define __UTDEBUG_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" diff --git a/source/components/utilities/utexcep.c b/source/components/utilities/utexcep.c index 2d7c4e0a8..28ae7ac4f 100644 --- a/source/components/utilities/utexcep.c +++ b/source/components/utilities/utexcep.c @@ -115,6 +115,7 @@ #define __UTEXCEP_C__ +#define EXPORT_ACPI_INTERFACES #define ACPI_DEFINE_EXCEPTION_TABLE #include "acpi.h" diff --git a/source/components/utilities/utglobal.c b/source/components/utilities/utglobal.c index 865761b80..8c5c59393 100644 --- a/source/components/utilities/utglobal.c +++ b/source/components/utilities/utglobal.c @@ -114,6 +114,7 @@ *****************************************************************************/ #define __UTGLOBAL_C__ +#define EXPORT_ACPI_INTERFACES #define DEFINE_ACPI_GLOBALS #include "acpi.h" diff --git a/source/components/utilities/utxferror.c b/source/components/utilities/utxferror.c index 341305022..80c1ca7b6 100644 --- a/source/components/utilities/utxferror.c +++ b/source/components/utilities/utxferror.c @@ -114,6 +114,7 @@ *****************************************************************************/ #define __UTXFERROR_C__ +#define EXPORT_ACPI_INTERFACES #include "acpi.h" #include "accommon.h" 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__ */ |