History

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)

Linus Torvalds committed 5 years ago

Commit ea6be462 parents fc2c8d0 ff707841 file · +3 −3Browse files

Unified · Split

include/linux/acpi.h+3−3
@@ -746,12 +746,12 @@ acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) · 745 unmodified lines
746 746
747static inline void acpi_dev_put(struct acpi_device *adev) {}747static inline void acpi_dev_put(struct acpi_device *adev) {}
748 748
749static inline bool is_acpi_node(struct fwnode_handle *fwnode)749static inline bool is_acpi_node(const struct fwnode_handle *fwnode)
750{750{
751 return false;751 return false;
752}752}
753 753
754static inline bool is_acpi_device_node(struct fwnode_handle *fwnode)754static inline bool is_acpi_device_node(const struct fwnode_handle *fwnode)
755{755{
756 return false;756 return false;
757}757}
@@ -761,7 +761,7 @@ static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwno · 3 unmodified lines
761 return NULL;761 return NULL;
762}762}
763 763
764static inline bool is_acpi_data_node(struct fwnode_handle *fwnode)764static inline bool is_acpi_data_node(const struct fwnode_handle *fwnode)
765{765{
766 return false;766 return false;
767}767}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t