summaryrefslogtreecommitdiff
path: root/include/dm/acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm/acpi.h')
-rw-r--r--include/dm/acpi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dm/acpi.h b/include/dm/acpi.h
index ba0813fa21..49257914ff 100644
--- a/include/dm/acpi.h
+++ b/include/dm/acpi.h
@@ -22,6 +22,8 @@
/* Length of an ACPI name string including nul terminator */
#define ACPI_NAME_MAX (ACPI_NAME_LEN + 1)
+#if !defined(__ACPI__)
+
/**
* struct acpi_ops - ACPI operations supported by driver model
*/
@@ -70,4 +72,6 @@ int acpi_get_name(const struct udevice *dev, char *out_name);
*/
int acpi_copy_name(char *out_name, const char *name);
+#endif /* __ACPI__ */
+
#endif