Commit da2679f2 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge branch 'acpi-properties'

Merge changes adding support for device properties with buffer values
to the ACPI device properties handling code.

* acpi-properties:
  ACPI: property: Fix error handling in acpi_init_properties()
  ACPI: property: Read buffer properties as integers
  ACPI: property: Add support for parsing buffer property UUID
  ACPI: property: Unify integer value reading functions
  ACPI: property: Switch node property referencing from ifs to a switch
  ACPI: property: Move property ref argument parsing into a new function
  ACPI: property: Use acpi_object_type consistently in property ref parsing
  ACPI: property: Tie data nodes to acpi handles
  ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
parents b0f2fe5a 46981fa7
This diff is collapsed.
...@@ -344,8 +344,9 @@ struct acpi_device_physical_node { ...@@ -344,8 +344,9 @@ struct acpi_device_physical_node {
struct acpi_device_properties { struct acpi_device_properties {
const guid_t *guid; const guid_t *guid;
const union acpi_object *properties; union acpi_object *properties;
struct list_head list; struct list_head list;
void **bufs;
}; };
/* ACPI Device Specific Data (_DSD) */ /* ACPI Device Specific Data (_DSD) */
......
...@@ -1245,7 +1245,7 @@ static inline bool acpi_dev_has_props(const struct acpi_device *adev) ...@@ -1245,7 +1245,7 @@ static inline bool acpi_dev_has_props(const struct acpi_device *adev)
struct acpi_device_properties * struct acpi_device_properties *
acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid, acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid,
const union acpi_object *properties); union acpi_object *properties);
int acpi_node_prop_get(const struct fwnode_handle *fwnode, const char *propname, int acpi_node_prop_get(const struct fwnode_handle *fwnode, const char *propname,
void **valptr); void **valptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment