Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'acpi-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI fix from Rafael Wysocki:
"Make the empty stubs of some helper functions used when CONFIG_ACPI is
not set actually match those functions (Andy Shevchenko)"

* tag 'acpi-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: bus: Constify is_acpi_node() and friends (part 2)

+3 -3
+3 -3
include/linux/acpi.h
··· 746 746 747 747 static inline void acpi_dev_put(struct acpi_device *adev) {} 748 748 749 - static inline bool is_acpi_node(struct fwnode_handle *fwnode) 749 + static inline bool is_acpi_node(const struct fwnode_handle *fwnode) 750 750 { 751 751 return false; 752 752 } 753 753 754 - static inline bool is_acpi_device_node(struct fwnode_handle *fwnode) 754 + static inline bool is_acpi_device_node(const struct fwnode_handle *fwnode) 755 755 { 756 756 return false; 757 757 } ··· 761 761 return NULL; 762 762 } 763 763 764 - static inline bool is_acpi_data_node(struct fwnode_handle *fwnode) 764 + static inline bool is_acpi_data_node(const struct fwnode_handle *fwnode) 765 765 { 766 766 return false; 767 767 }