Pull ACPI fixes from Rafael Wysocki: "These address two build issues and drop confusing text from a couple of Kconfig entries. Specifics: - Drop two local variables that are never read and the code updating their values from the x86 suspend-to-idle code (Rafael Wysocki) - Add empty stub of an ACPI helper function to avoid build issues when CONFIG_ACPI is not set (Shawn Guo) - Remove confusing text regarding modules from Kconfig entries that correspond to non-modular code (Peter Robinson)" * tag 'acpi-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: ACPI: Update Kconfig help text for items that are no longer modular ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI ACPI: PM: s2idle: Drop unused local variables and related code
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -885,6 +885,13 @@ static inline int acpi_device_modalias(struct device *dev, · 884 unmodified lines | |||
| 885 | return -ENODEV; | 885 | return -ENODEV; |
| 886 | } | 886 | } |
| 887 | 887 | ||
| 888 | static inline struct platform_device * | ||
| 889 | acpi_create_platform_device(struct acpi_device *adev, | ||
| 890 | struct property_entry *properties) | ||
| 891 | { | ||
| 892 | return NULL; | ||
| 893 | } | ||
| 894 | |||
| 888 | static inline bool acpi_dma_supported(struct acpi_device *adev) | 895 | static inline bool acpi_dma_supported(struct acpi_device *adev) |
| 889 | { | 896 | { |
| 890 | return false; | 897 | return false; |