fwnode.h 650 B

123456789101112131415161718192021222324252627282930
  1. /*
  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. #ifndef _LINUX_FWNODE_H_
  12. #define _LINUX_FWNODE_H_
  13. enum fwnode_type {
  14. FWNODE_INVALID = 0,
  15. FWNODE_OF,
  16. FWNODE_ACPI,
  17. FWNODE_ACPI_DATA,
  18. FWNODE_ACPI_STATIC,
  19. FWNODE_PDATA,
  20. FWNODE_IRQCHIP
  21. };
  22. struct fwnode_handle {
  23. enum fwnode_type type;
  24. struct fwnode_handle *secondary;
  25. };
  26. #endif