diff options
| author | Ingo Molnar <mingo@kernel.org> | 2022-09-21 09:58:02 +0200 | 
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2022-09-21 09:58:02 +0200 | 
| commit | 74656d03ac36fabb16b9df5221cf398ee3a9ca08 (patch) | |
| tree | 0600e619ac817e2c016c148810814f55280316cc /include/linux/acpi.h | |
| parent | 0d97db026509c1a13f732b22670ab1f0ac9d8d87 (diff) | |
| parent | 521a547ced6477c54b4b0cc206000406c221b4d6 (diff) | |
Merge tag 'v6.0-rc6' into locking/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/acpi.h')
| -rw-r--r-- | include/linux/acpi.h | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 7e7a33b6c8d7..6f64b2f3dc54 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -764,6 +764,7 @@ static inline u64 acpi_arch_get_root_pointer(void)  #endif  int acpi_get_local_address(acpi_handle handle, u32 *addr); +const char *acpi_get_subsystem_id(acpi_handle handle);  #else	/* !CONFIG_ACPI */ @@ -1025,6 +1026,11 @@ static inline int acpi_get_local_address(acpi_handle handle, u32 *addr)  	return -ENODEV;  } +static inline const char *acpi_get_subsystem_id(acpi_handle handle) +{ +	return ERR_PTR(-ENODEV); +} +  static inline int acpi_register_wakeup_handler(int wake_irq,  	bool (*wakeup)(void *context), void *context)  { @@ -1245,7 +1251,7 @@ static inline bool acpi_dev_has_props(const struct acpi_device *adev)  struct acpi_device_properties *  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,  		       void **valptr); @@ -1431,7 +1437,6 @@ int find_acpi_cpu_topology(unsigned int cpu, int level);  int find_acpi_cpu_topology_cluster(unsigned int cpu);  int find_acpi_cpu_topology_package(unsigned int cpu);  int find_acpi_cpu_topology_hetero_id(unsigned int cpu); -int find_acpi_cpu_cache_topology(unsigned int cpu, int level);  #else  static inline int acpi_pptt_cpu_is_thread(unsigned int cpu)  { @@ -1453,10 +1458,6 @@ static inline int find_acpi_cpu_topology_hetero_id(unsigned int cpu)  {  	return -EINVAL;  } -static inline int find_acpi_cpu_cache_topology(unsigned int cpu, int level) -{ -	return -EINVAL; -}  #endif  #ifdef CONFIG_ACPI_PCC  | 
