blob: 0408545bce42403ecd50ecbeed8bffb78b336274 [file] [log] [blame]
Rafael J. Wysockice793482015-03-16 23:49:03 +01001/*
2 * fwnode.h - Firmware device node object handle type definition.
3 *
4 * Copyright (C) 2015, Intel Corporation
5 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12#ifndef _LINUX_FWNODE_H_
13#define _LINUX_FWNODE_H_
14
15enum fwnode_type {
16 FWNODE_INVALID = 0,
17 FWNODE_OF,
18 FWNODE_ACPI,
Rafael J. Wysocki16ba08d2015-04-03 16:05:11 +020019 FWNODE_PDATA,
Rafael J. Wysockice793482015-03-16 23:49:03 +010020};
21
22struct fwnode_handle {
23 enum fwnode_type type;
Rafael J. Wysocki97badf82015-04-03 23:23:37 +020024 struct fwnode_handle *secondary;
Rafael J. Wysockice793482015-03-16 23:49:03 +010025};
26
27#endif