aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/fwnode.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-25 20:59:51 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-25 20:59:51 +0100
commitfe0a20a3eff282efae9f891fd10081a9e2b45c96 (patch)
tree48b5d81c132f9ada373464bdc0a04e1d23cfa532 /include/linux/fwnode.h
parentdriver core: property: Update fwnode_property_read_string_array() (diff)
parentACPI: Introduce has_acpi_companion() (diff)
downloadwireguard-linux-fe0a20a3eff282efae9f891fd10081a9e2b45c96.tar.xz
wireguard-linux-fe0a20a3eff282efae9f891fd10081a9e2b45c96.zip
Merge branch 'acpi-driver-core' into device-properties
Diffstat (limited to 'include/linux/fwnode.h')
-rw-r--r--include/linux/fwnode.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
new file mode 100644
index 000000000000..17bb5f039509
--- /dev/null
+++ b/include/linux/fwnode.h
@@ -0,0 +1,25 @@
+/*
+ * fwnode.h - Firmware device node object handle type definition.
+ *
+ * Copyright (C) 2015, Intel Corporation
+ * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _LINUX_FWNODE_H_
+#define _LINUX_FWNODE_H_
+
+enum fwnode_type {
+ FWNODE_INVALID = 0,
+ FWNODE_OF,
+ FWNODE_ACPI,
+};
+
+struct fwnode_handle {
+ enum fwnode_type type;
+};
+
+#endif