aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/x86/apple.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/x86/apple.h')
-rw-r--r--include/linux/platform_data/x86/apple.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/platform_data/x86/apple.h b/include/linux/platform_data/x86/apple.h
new file mode 100644
index 000000000000..079e816c3c21
--- /dev/null
+++ b/include/linux/platform_data/x86/apple.h
@@ -0,0 +1,13 @@
+#ifndef PLATFORM_DATA_X86_APPLE_H
+#define PLATFORM_DATA_X86_APPLE_H
+
+#ifdef CONFIG_X86
+/**
+ * x86_apple_machine - whether the machine is an x86 Apple Macintosh
+ */
+extern bool x86_apple_machine;
+#else
+#define x86_apple_machine false
+#endif
+
+#endif